Auth Referrer allows you to automatically authenticate your users using a link.
In the store:
- Go to
Control Panel > User
- Create a new user or select an existing one
- Set the URL or URLs using the option
Assing URL referrersin the dropdown menu.
The referrer is the URL where a user come from. Example. When you press a button in
https://app.publica.la, the app understand that user come from
Also the referrer can be more specific, ex.
You need to take account new changes in Chrome related Referrer Policy
In the third party end:
- Create a button or Hyperlink
- Set a route
https://your-store.com/auth/referrerlike link in the button
- In case you need to redirect users to a specific URL inside store such as the publication page or a specific filter you may add the
intended_urlparameter to your URL.
If something is misconfigured users will be directed to the login form instead of bing automatically logged in.
You can add to url query
?debug=true to know IP where come from these user.
When you use this URL you should see the follow screen show with date to know if the user are configured with correct IPs.