Shopify

How can I redirect users to different pages after SSO depending on where the initiating SSO URL Link is placed?

374 views June 27, 2025 0

Note: Our app supports the Shopify Horizon theme and enables seamless SSO login for B2B accounts. Click here to learn more.

You can redirect users to different pages after initiating SSO depending on the format of the SSO Link placed on any page.

The format for the SSO Link is as follows:

https://store.xecurify.com/moas/broker/login/shopify/<store-domain>/account?redirect_endpoint=<endpoint-where-you-want-to-go-after-sso>

  • For example, if you want customers to be redirected to the /cart page after SSO, the SSO link would be:
    https://store.xecurify.com/moas/broker/login/shopify/abc/account?redirect_endpoint=%2Fcart
  • For /collections/all page, the SSO link would be:
    https://store.xecurify.com/moas/broker/login/shopify/abc/account?redirect_endpoint=%2Fcollections%2Fall

**Important**

Note: Please ensure that the redirect_endpoint parameter is in URL-encoded format.

Was this helpful?


Hello there!

Need Help? We are right here!

support