Search Results :

×

How to set up Shopify SAML Single Sign-On (SSO) using Auth0 as Identity Provider?

miniOrange enables Auth0 to act as an Identity Provider (IdP) for a secure and seamless Single Sign-On (SSO) into Shopify storefront using Auth0 credentials. Our Shopify SSO solution supports both Shopify customer accounts and legacy accounts, making it suitable for every type of store. Whether you run a Shopify Plus or non-Plus store or need B2B login functionality, our Shopify Auth0 SSO provides a flexible and scalable authentication solution. Our solution enables unified SSO access for consumers, wholesalers, employees, and enterprise customers, ensuring a smooth and secure login experience for every user group.

Our SSO application is compatible with all SAML/OAuth-compliant identity providers, and a variety of identity providers to choose from, depending on the business requirements. This guide will walk you through a step-by-step configuration of Shopify Auth0 integration, with Auth0 as the IdP (Identity Provider) and Shopify as the SP (Service Provider).

  • Log in to your Shopify Admin.
  • Go to AppsShopify App Store
  • Search for miniOrange Single Sign-On – SSO
  • Click Install to add the app to your store
  • Open the app from Apps to start Auth0 SAML SSO configuration
Shopify Auth0 SSO

  • A new window will pop-up. Enter a name for the application and select Regular Web App, then click on Create.
 Shopify Auth0 SSO

  • Select the Addons tab, and enable the SAML2 Web App. It will open up a configuration window.
 Shopify Auth0 SSO

  • For the above SAML configuration you need to get the Entity ID and ACS URL from Shopify.
  • Go to your Shopify store and navigate to the App section and click on Single Sign On - SSO login application.
 Shopify Auth0 SSO

  • Click on the Add identity Provider button to add your IDP.
 Shopify Auth0 SSO

  • Select SAML protocol.
 Shopify Auth0 SSO

  • From the list of identity providers (IDPs), select Auth0 as your identity provider.
 Shopify Auth0 SSO

  • Click on the Get Metadata to get the service provider (Shopify) metadata.
 Shopify Auth0 SSO

  • For SP-Initiated SSO, note down the required details to configure SSO in Auth0.
 Shopify Auth0 SSO

  • Enter Application Callback URL, Audience, Recipient and other settings using SP entity ID and ACS URL copied from the Shopify SSO application.
Application Callback URL & Recipient ACS URL
Audience SP Entity ID
 Shopify Auth0 SSO

 Shopify Auth0 SSO

You have successfully completed Auth0 side configuration.

  • Navigate back to the miniOrange Single Sign On-SSO application and click on Add identity Provider button.
Shopify SSO Application - Shopify Auth0 SSO

  • Select SAML protocol.
Select SAML SSO - Shopify Auth0 SSO

  • From the list of IDPs, select Auth0.
Gigya Select SAML IDP - Shopify Auth0 SSO

  • Enter the identity provider (IDP) display name.
  • Click on the Import IDP Metadata button.
Import IDP Metadata  - Shopify Auth0 SSO

  • Select the upload method as Metadata Link. Paste the copied XML file link from Step 1 and Click on Import.
Metadata-link - Shopify Auth0 SSO

  • Add the appropriate IDP Name and click on Save.
Save Configuration - Shopify Auth0 SSO

  • After saving the IDP configuration, you will be redirected to the Test Connection step.
    Please perform Test Connection before mapping or fetching attributes, test connection ensures that your IDP configuration is correct.
  • Click on the Test Connection button.
Test Connection - Shopify Auth0 SSO

  • On entering valid Auth0 credentials you will see a pop-up window which is shown in the below screen.
Connection Succesfull - Shopify Auth0 SSO

  • Click on the Fetch Attributes button to fetch the IDP attribute.
Fetch Attributes - Shopify Auth0 SSO

  • Click on the + Attribute Mapping button to map attributes between Shopify and Auth0.
Attribute Mapping - Shopify Auth0 SSO

  • Map the attributes by referring to the table below:
Attribute Name in Shopify Choose the attribute from the list of predefined attributes
Attribute Type IDP Attribute
Attribute Value Select the attribute value you have fetched from your IDP
Map Attributes - Shopify Auth0 SSO

  • Click on Next.

Select Shopify Store Type:

SSO Configuration in Non-Plus Shopify Stores

Choose the type of account you have enabled on your Shopify Store:

Note: If you’re using a password-protected store or working on a Shopify development store, click here to set up the storefront digest cookie so SSO can work on your store.

  • Go to the application dashboard, enable the customer accounts extension as shown in the below image.
Shopify SSO Login - Enable Customer

  • Enable the New Customer Accounts extension and click on Save.
Shopify SSO Login - Enable /wp-content/uploads/2025/05/shopify-sso-paste-multipass-token.webps

  • Navigate to the application home page and enable the IDP Login toggle option against the IDP you have configured.
Shopify SSO Login - Make app default

Allow Only SSO Users to Complete Checkout - Restrict Others

This feature allows only users who log in via Single Sign-On (SSO) to complete the checkout process. Other users will be blocked from proceeding with checkout.

  • Navigate to Settings.
  • Shopify SSO Login - Navigate to Settings

  • Open the Checkout section.
  • Shopify SSO Login - Open Shopify Checkout

  • Scroll downwards, in the checkout rules section, click on Add rule.
  • Shopify SSO Login - Add Checkout Rule

  • Click on SSO Checkout Validation.
  • Shopify SSO Login - SSO Checkout Validation

  • Deselect the "Allow all customers to complete checkout" option, and click on Save.
  • Shopify SSO Login - Deselect Allow All Customers to Complete Checkout

  • Now, you can Turn on the checkout rule.
  • Shopify SSO Login - Turn On SSO Checkout Validation

  • If you attempt to checkout without performing SSO, an error will appear as shown below.
  • Shopify SSO Login - SSO Checkout Validation Error

Testing Single Sign-On (SSO) for your Shopify store

  • Go to your Shopify Store.(https://<your-shopify-storedomain>)
  • Click on the User login icon.
SSO Login into Store - Shopify miniOrange SSO

  • You’ll be redirected to the login page of the identity provider (IDP) you configured in the previous step. Log in with your IDP account credentials.
  • Next, enter the six-digit OTP that will be sent to your registered email address. (This is a one-time process)
Shopify miniOrange SSO - 6 Digit OTP customer accounts

  • You’ll be successfully logged in to your Shopify store.
  • Go to the application dashboard, you will see a warning box to add the login button extension on the Account page, click on the login widget extension link as shown in the below image to enable it.
Shopify SSO Login - Make app default

  • Navigate to the application home page and enable the IDP Login toggle option against the IDP you have configured.
Shopify SSO Login - Make app default

  • If you want to configure SSO into Shopify using multiple IDPs, then select your IDP from the list provided here, and setup SSO using that IDP.
  • Enable the IDP login toggle option for enabling SSO into Shopify using multiple IDPs.
Shopify SSO Login - Make app default

Testing Single Sign-On (SSO) for your Shopify store

  • Go to your Shopify Store login page.(https://<your-shopify-storedomain>/account/login)
  • Click on the login button you customized earlier.
SSO Login into Store - Shopify miniOrange SSO

  • You'll be redirected to the identity provider (IDP) login page. Now log in with your existing account credentials.
  • After login, if you encounter an "invalid or missing reCAPTCHA token" error, accompanied by a "Something went wrong" message, refer to this FAQ to resolve the error.
Shopify miniOrange SSO - Something went wrong error

SSO Configuration in Plus Shopify Stores

Choose the type of account you have enabled on your Shopify Store:

  • Navigate back to the SSO application, and click on the Connect Store tab.
  • Copy the Discovery Endpoint URL Client ID, Client Secret, Additional Scopes and Post-Logout Redirect URI Parameter and keep them handy.
Shopify SSO Login - Copy Client ID and Secret

  • Click on the Customer Accounts link as shown in the below image.
Shopify SSO Login - Click on Customer Accounts

  • Select the Customer Accounts option as recommended by Shopify. Next, look for the Authentication option and click on Manage.
  • If you do not find the option, please reach out to shopifysupport@xecurify.com for assistance.
Shopify SSO Login - Manage Authentication

  • Click on the Manage Providers button.
Shopify SSO Login - Manage Providers

  • Click on Connect to Provider button.
Shopify SSO Login - Connect to identity provider

  • Add the Identity Provider name and from the Provider dropdown, select Custom or other.
Shopify SSO Login - Add identity provider name

  • Fill in the details such as Discovery endpoint URL, Client ID, Client secret, Additional Scopes, Post-logout redirect URI parameter that you copied from above step. Click on Save.
Shopify SSO Login - Add metadata

  • Once the Identity Provider has been added, do the Test Connection.
Shopify SSO Login - Test Connections

  • After verifying the flow make the identity provider as Active.
Shopify SSO Login - Make identity provider active

  • Navigate to the application home page and enable the IDP Login toggle option against the IDP you have configured.
Shopify SSO Login - Make app default

Testing Single Sign-On (SSO) for your Shopify store

  • Go to your Shopify Store.(https://<your-shopify-storedomain>)
  • Click on the User login icon.
SSO Login into Store - Shopify miniOrange SSO
  • You’ll be redirected to the login page of the identity provider (IDP) you configured in the previous step. Log in with your IDP account credentials.
  • You’ll be successfully logged in to your Shopify store.

Provide Login Using Username & Password

If you want to provide login using username & password along with your login with IDP option for your B2B store, then click here

Shopify  Login - With Username and Password

Provide Login Using Email OTP

If you want to provide login using Email OTP along with your login with IDP option for your B2B store, then click here

Shopify  Login - With Email OTP
  • Now, click on the Setup Guide button and follow the steps mentioned to get multipass token.
Shopify SSO Login - Get multipass token

  • Enable the Multipass Token option. Refer to this Faq to get the Multipass token value and paste it in the below field.
Shopify SSO Login - Enable multipass token

  • Click on Save.
  • Go to the application dashboard, you will see a warning box to add the login button extension on the Account page, click on the login widget extension link as shown in the below image to enable it.
Shopify SSO Login - Make app default

  • Navigate to the application home page and enable the IDP Login toggle option against the IDP you have configured.
Shopify SSO Login - Make app default

  • If you want to configure SSO into Shopify using multiple IDPs, then select your IDP from the list provided here, and setup SSO using that IDP.
  • Enable the IDP login toggle option for enabling SSO into Shopify using multiple IDPs.
Shopify SSO Login - Make app default

Testing Single Sign-On (SSO) for your Shopify store

  • Go to your Shopify Store login page.(https://<your-shopify-storedomain>/account/login)
  • Click on the login button you customized earlier.
SSO Login into Store - Shopify miniOrange SSO

  • You'll be redirected to the identity provider (IDP) login page. Now log in with your existing account credentials.
  • If you encounter an "invalid or missing reCAPTCHA token" error, accompanied by a "Something went wrong" message, refer to this FAQ to resolve the error.
Shopify miniOrange SSO - Something went wrong error

  • You’ll be successfully logged in to your Shopify store.

You have successfully configured Single Sign-On (SSO) for your Shopify store with Auth0 as your identity provider (IdP) and your Shopify store as the service provider (SP). Through this Shopify Auth0 integration, users can now execute Single Sign-On (SSO) to gain access to your Shopify store using Auth0 credentials, effectively removing password complexity and enhancing login security.

More Features ➔


To configure Auth0 as your identity provider, you need to set up an Auth0 Application in your Auth0 dashboard and configure it with the callback URL provided by the Shopify SSO application. In the Shopify SSO app, select Auth0 as your IDP and choose either OpenID Connect (OIDC) or SAML 2.0 protocol. Enter your Auth0 Domain, Client ID, and Client Secret (for OIDC) or upload the SAML metadata. The application will automatically exchange the necessary configuration details between Auth0 and Shopify. Follow the step-by-step configuration guide here for detailed instructions.

Yes, you can enable social login for your Shopify store through Auth0. Once you configure social connections (Google, Facebook, Microsoft, LinkedIn, Apple, etc.) in your Auth0 dashboard, users can authenticate using these social accounts when logging into your Shopify store. The Shopify SSO application will automatically create Shopify customer profiles from the social account information provided by Auth0. Ensure that the social connections are enabled and properly configured in your Auth0 tenant before users attempt to log in. The user's email, name, and other profile attributes from the social provider will be mapped to their Shopify customer account.

In the Shopify SSO application, navigate to the Attribute Mapping section for your Auth0 configuration. Here, you can map Auth0 user attributes (such as email, name, custom claims, or app_metadata) to Shopify customer profile fields. To assign customer tags automatically, use Auth0 Rules or Actions to add custom claims or metadata to the user profile, then map those attributes to Shopify customer tags in the SSO application. For example, you can map an Auth0 custom claim like "customer_type" to automatically assign tags like "wholesale" or "premium" to Shopify customers based on their Auth0 profile. This enables personalized pricing and access control. Refer to the attribute mapping documentation for detailed configuration steps.

More FAQs ➔

Yes, you can send users to specific pages on your Shopify store after they log in with Auth0.
Here’s how to configure:

Configure SSO between Shopify and Auth0: Using the Shopify SSO application by miniOrange, configure Single Sign-On (SSO) between them with Auth0 as an authentication source (identity provider).

Set up redirection post login:After establishing SSO connection between them, navigate to post login configurations, under “Redirect URL after Login”, enter the endpoint where you want to redirect the user after login. For example, /products or /checkout.

Yes, you can configure Auth0 to allow only your employees to access your Shopify store via Single Sign-On (SSO). You can enforce strict access control so that only users with valid organizational credentials can authenticate.

Configure roles in Auth0: Assign this role only to users you want to grant access to the Shopify store. Configure settings in Auth0 to include role or group information in the SAML assertion.

In the Shopify Plus SSO app: Import Auth0 metadata or endpoints into the Shopify SSO app and configure it as the Identity Provider (IdP). Define access rules in the app to allow login only for users who match specific claims—such as belonging to an allowed email domain.

Yes, you can make sure only people with verified work email addresses log in to the Shopify store using Auth0 via the Shopify SSO application by miniOrange.

Here's how to ensure only verified work email users can log in to Shopify via Auth0:

Set up Shopify as an Auth0 app: In Auth0, create a new application and configure the Callback URL and Logout URL from your Shopify SSO plugin. Enable SAML2 Web App or OAuth2 and connect it to Shopify.

In the Shopify SSO application: Assign the group to the SSO application. This ensures that only users with email addresses from trusted and verified domains are allowed to log into your Shopify store via SSO.

Yes, you can use the same Auth0 account to control login for multiple Shopify storefronts using the Shopify SSO app.

In the Shopify SSO application: A single Auth0 can act as the centralized Identity Provider (IdP). Connect this IdP to each Shopify store individually through the application. Customers or internal employees will be authenticated via Auth0, and then redirected back to the respective Shopify store after successful login.

 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again


ADFS_sso ×
Hello there!

Need Help? We are right here!

support