Single Logout Endpoint (SLO)
Applies to : Growth or Higher plans
Feature Description
Using this, you can terminate the user's Single Sign-On (SSO) session from the Shopify store as well as your Identity Provider (IdP) when the user logs out from any of the connected platforms.
1. SAML Protocol
-
In case of SAML, while configuring the IdP in the Shopify SSO application, you need to add the SAML Logout URL of the Identity Provider (for example: Auth0) in the "Single Logout URL" field.
-
Add the following endpoint in the Shopify theme -> main-account.liquid template:
https://{shopifydomain}.myshopify.com/apps/sso/moas/broker/login/shopify/slo/logout
-
Refer to the screenshot below for Single Logout (SLO) implementation details:
2. OAuth 2.0 Protocol
-
In case of the OAuth protocol, the Single Logout (SLO) endpoint is unique for each Identity Provider (IdP).
-
For further assistance in configuring the "SSO Logout URL" using the OAuth protocol, please contact us at shopifysupport@xecurify.com.