Search Results :

×

SAML Single Sign-On (SSO) For Shopify Using OpenAthens as Identity Provider

miniOrange enables OpenAthens to act as an Identity Provider (IdP), allowing users to log in with Single Sign-On (SSO) into Shopify using OpenAthens credentials. Our solution works with both new and legacy customer accounts, supports Shopify Plus and non-Plus stores, and is designed to meet the authentication needs of B2B and wholesale storefronts. The application also supports all SAML, OAuth, and OpenID-compliant Identity Providers, giving you flexibility across platforms.

This guide will walk you through configuring OpenAthens as the IdP (Identity Provider) and your Shopify store as the SP (Service Provider) for Single Sign-On (SSO), covering use cases for customer/legacy accounts, Shopify Plus and non-Plus, and B2B login scenarios.

  • 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 OpenAthens SAML SSO configuration
  • For the above SAML configuration, you need to get the Entity ID and ACS URL from Shopify.
  • Now go to your Shopify store, navigate to the App section and click on Single Sign On - SSO login application.
Shopify OpenAthens SSO - Shopify Store SSO App login

  • Click on the Add Identity Provider button to add your IDP.
Shopify OpenAthens SSO - Add IDP

  • Select SAML protocol.
Shopify OpenAthens SSO - Select SAML Protocol

  • Now choose OpenAthens from the list of IDPs.
Shopify OpenAthens SSO - OpenAthens SAML IDP

  • Click on the Get metadata button, as shown on the screen below, to get the service provider metadata.
Shopify OpenAthens SSO - Get Metadata

  • Navigate to the SP Initiated Metadata section and copy down the SP Initiated metadata URL.
Shopify OpenAthens SSO - SP Initiated Metadata

  • Navigate to IDP Initiated Metadata section and copy down the IDP Initiated metadata URL.
Shopify OpenAthens SSO - IDP Initiated Metadata

  • Log in to the OpenAthens administration area at https://sp.openathens.net using your domain administrator credentials.
  • Navigate to Management → Connections.
  • Under Local authentication, click Create.
Shopify OpenAthens SSO - Management Connections

  • In the Select local authentication system type popup, select SAML and click Configure.
Shopify OpenAthens SSO - Select SAML Connector

  • In the Add SAML authentication system dialog, select URL as the import method and paste the SP Metadata URL that you copied from Step 1. Alternatively, upload the metadata XML file using Choose File. Click Add.
Shopify OpenAthens SSO - Add SAML Authentication System

  • On the Details tab, configure the following:
    • Unique user attribute – select an attribute that supplies a persistent, pseudonymous value that is unique to each user, such as the user's email address.
    • Display name attribute – select an attribute that provides a human-readable identifier for the account list.
    • Set both Display name mapping and Unique user mapping to Use attribute.
    • (Optional): If you want to use the SAML NameID as the unique identifier, restrict the NameID format to urn:oasis:names:tc:SAML:2.0:nameid-format:persistent or urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress.
Shopify OpenAthens SSO - SAML Connection Details

  • Click Save.
  • Navigate to the Attributes tab and configure the attribute mappings so that OpenAthens can release the required user attributes (for example, email address) to Shopify.
  • Navigate to the Relying party tab and copy the Metadata URL displayed there — it will look similar to https://login.openathens.net/saml/2/metadata-sp/yourdomain.com/la/123456. You will use this URL in Step 3 to configure OpenAthens as the IdP inside Shopify.
Shopify OpenAthens SSO - Relying Party Metadata

  • Use Debug mode to test the connection before making it available to your users.
  • Once testing is successful, set the connection Status to Live and Visible (and Default, if required) on the connection's summary and click Save.

You have successfully configured OpenAthens as SAML IdP (Identity Provider) for achieving OpenAthens SSO login into your Shopify Store.

  • Navigate back to the miniOrange Single Sign On-SSO application and click on the Add Identity Provider button.
Shopify OpenAthens SSO - Add New IDP

  • Select SAML protocol.
Shopify OpenAthens SSO - Select SAML Protocol

  • From the list of IDPs, select OpenAthens.
Shopify OpenAthens SSO - OpenAthens SAML IDP

  • Click on the Import IDP Metadata button.
Shopify OpenAthens SSO - Import IDP Metadata

  • Select the upload method as Metadata Link. Paste the OpenAthens Relying party Metadata URL copied from Step 2 and Click on Import.
Shopify OpenAthens SSO - Upload IDP Metadata

  • Add the appropriate IDP Name and click on Save.
Shopify OpenAthens SSO - Provide IDP Name

You have completed the Shopify side configuration to set up SSO between OpenAthens and Shopify.

  • 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.
Shopify OpenAthens SSO - Test IDP Connection

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

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

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

  • 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
Shopify OpenAthens SSO - Attribute Mapping Configurations

  • Click on Save.

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.

In this guide, you have set up OpenAthens Single Sign-On (SSO) by configuring OpenAthens as the Identity Provider (IdP) and Shopify as the Service Provider (SP) using the miniOrange Shopify Single Sign-On (SSO) Login App. This solution ensures that you are ready to roll out secure access to your Shopify store using OpenAthens login credentials within minutes.


To access customer login on your Shopify storefront, first check if the account/login button is visible in the navbar. If it is, go directly to the storefront login. If it isn’t, go to Shopify Admin >> Settings >> Customer Accounts. Enable Show login link in the header of the online store and at checkout option.

  • For Legacy Shopify Customer Accounts, click the account/login link or visit /account/login. Then select the OpenAthens SSO Login widget above the email and password fields. Enter your OpenAthens credentials, and you will be logged in.
  • For Shopify Customer Accounts, click the user icon at the top right of the store. Log in through the redirected OpenAthens login page using your credentials. Complete the one-time 6-digit OTP verification to access the store.

For detailed steps, follow the steps provided in the documentation.

After setting up OpenAthens SSO for Shopify, you can configure where customers are redirected after they log in. Open the Shopify SSO application for OpenAthens and go to More Actions, then Additional Settings. In the Post Login Configurations tab, enter the redirect endpoint you want. For example, use /cart or /collections, but do not include the full URL. If needed, enable the Restrict User SignUp option, then save your configuration. Refer to the instructions for a complete step-by-step guide.

To enable the Auto-Redirect to OpenAthens feature, you first need to upgrade the Shopify SSO application for OpenAthens to the Enterprise (Scale) plan. Go to Apps >> miniOrange Single Sign-On (SSO), open the Pricing section, and click Upgrade under the Scale Plan.

After upgrading, go to the Global Configurations tab. Enable Auto Redirect to IDP under Store Access Settings. If a warning appears, follow the provided link to enable the required extension. Then choose whether the feature applies to the entire store or just the the login page. Finally, click Save to activate Auto-Redirect to OpenAthens on your Shopify store.

Follow these instructions for detailed setup information.

More FAQs ➔

To enable users to log in to your Shopify store using their institutional credentials, you can set up Single Sign-On (SSO) using OpenAthens as your identity provider (IdP) and Shopify as the service provider (SP). This will allow users to authenticate via their OpenAthens credentials, providing a seamless login experience.

Here’s how to set it up OpenAthens SSO for Shopify so users log in with their OpenAthens credentials:

OpenAthens as the Identity Provider (IdP): Provide the Entity ID and the ACS (Assertion Consumer Service) URL from the Shopify SSO application. In OpenAthens, add a new SAML connection under Management >> Connections and copy the Relying party Metadata URL for the next step.

Shopify as the Service Provider (SP): In the Shopify SSO app, select the SAML protocol. Choose OpenAthens as an identity provider. Click on Import IdP Metadata and paste the Relying party Metadata URL into the required field.

By following these steps, users can now log in to the Shopify store using their OpenAthens credentials, eliminating the need for separate Shopify login credentials.

Yes, it is possible to redirect users to specific pages or sections of your Shopify store after they log in via OpenAthens SSO.

Here's how to set it up:

Configure OpenAthens as the Identity Provider (IdP): In the SSO application, configure OpenAthens as the IdP with its metadata. Ensure that OpenAthens is properly set up to authenticate users for your Shopify store.

Configure Shopify as the Service Provider (SP): Import the OpenAthens IdP metadata into Shopify’s SSO settings. Enable SSO login for your users, allowing them to authenticate with their OpenAthens credentials.

Set Up Custom Redirection: Under the post-login configurations, specify the URL or endpoint where you want users to be redirected after logging in. For example, you can set it to direct users to the cart page (/cart), account page (/account).

By following these steps, you can successfully configure Shopify to redirect users to different pages after they authenticate using OpenAthens via SSO.

To enable Single Sign-On (SSO) for multiple Shopify storefronts using OpenAthens, follow these steps:

Install the Shopify SSO app: Install it on each of your Shopify storefronts. This application is compatible with both Shopify Plus and non-Plus stores. The miniOrange app supports various SSO protocols, including SAML, ensuring compatibility for all storefronts.

Configure OpenAthens as the Identity Provider (IdP): Use OpenAthens as your Identity Provider (IdP) to authenticate users across multiple storefronts. Configure a separate SAML connection in OpenAthens for each storefront's SP metadata.

Configure the Shopify SSO app for all storefronts: On each Shopify storefront, select the SSO protocol as SAML. Enter the OpenAthens Relying party metadata URL and other required details for each storefront.

By following these steps, you can easily configure SSO with OpenAthens for multiple Shopify storefronts, allowing users to log in seamlessly across all stores.

Yes, it is possible to disable Shopify’s default login and force all users to log in through OpenAthens SSO only. Here’s how you can achieve this:

Set Up OpenAthens as the Identity Provider (IdP): Use OpenAthens as your Identity Provider (IdP) for authentication, ensuring that the SSO authentication is configured using the SAML protocol.

Shopify SSO app: Select SAML as the authentication protocol. Import the OpenAthens Relying party metadata URL and configure the other relevant settings for the SSO integration.

By following these steps, you can completely disable the default Shopify login and enforce OpenAthens SAML-based SSO for all user logins to your Shopify store.

 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