Yes, you can enable users to log in through Auth0 once and then provide access to Shopify and other connected platforms. Firstly, set up Shopify Single Sign-On (SSO) for Auth0 using . After configuring SSO, proceed with setting up the Single Logout (SLO), through which ending a user session in one system will automatically terminate the other.
For example, if a customer logs out from a Shopify store, the Single Logout (SLO) will also terminate its user session in Auth0. Similarly, if one logs out from Auth0, the SLO setup will terminate the user session on the Shopify store.
Pre-requisites:
- Shopify Single Sign-On (SSO) Application: [LINK]
- Guide to configure SSO between Shopify and Auth0: [LINK]
- Developer's guide to configure Single Logout (SLO): [LINK]
How Single Logout (SLO) Works:
Initiating Single Logout (SLO) from Shopify: When a user clicks the logout button in your Shopify store, Shopify SSO application can be configured to send a logout request to Auth0. This ensures that the user's authentication session with Auth0 is also terminated.
Initiating Single Logout from Auth0: Auth0 provides a logout endpoint that terminates the user's session from its system. If a user logs out directly from Auth0's portal, the SSO application can extend the logout event to Shopify, making sure the store session ends immediately.
Therefore the Shopify SSO application ensures that users are securely and completely signed out across all your connected stores and identity sessions, providing both security and convenience.
For more information, please feel free to contact our team.