Search Results :

×

How to configure Single Sign-On (SSO) for Shopify using FusionAuth as Identity Provider?

Setting up Single Sign-On (SSO) between FusionAuth and Shopify can streamline the authentication process for your users. SSO allows users to log in to multiple services using a single set of credentials. This guide outlines the steps to set up SSO between FusionAuth and Shopify, enhancing user convenience and security while navigating your applications. miniOrange allows FusionAuth to act as an IDP (Identity Provider), which allows users to Single Sign-On (SSO) into Shopify using FusionAuth Credentials. Our application is compatible with all the SAML / OAuth-compliant Identity Providers.

  • 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 FusionAuth OAuth SSO configuration
  • Go to your Shopify store and navigate to the App section and click on Single Sign On - SSO login application.
Shopify FusionAuth SSO - navigate to Shopify SSO App

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

  • Select OAuth 2.0 protocol.
Shopify FusionAuth SSO - Select OAuth 2.0 Protocol

  • Now choose Custom IDP from the list of IDPs.
Shopify FusionAuth SSO - Choose Custom IDP

  • Copy the OAuth Callback URL and keep it handy as it will be used in further steps.
Shopify FusionAuth SSO - Copy Callback URL

FusionAuth Shopify Integration - Login to FusionAuth

  • Navigate to the Applications tab on the FusionAuth dashboard and then click the Green plus button to add a new application.
FusionAuth Shopify Integration - Add Application

  • You must give your application a name on the Application Creation page. This is done so that your application can be distinguished in the dashboard. Provide an appropriate name for your application.
FusionAuth Shopify Integration - Application Name

  • Now select the OAuth tab. The default settings should be fine; the only thing you need to change is the Authorised redirect URLs section. Paste the OAuth Callback URL you copied in Step 1.
FusionAuth Shopify Integration - Redirect URL

  • Please keep in mind that FusionAuth will only provide login functionality by default, and you will have to manually create new users via the admin panel. This is useful if you're creating an internal site and don't want users to register. However, if you're creating a store, you'll probably want users to be able to create an account, so let's enable that. Enable self-service registration by clicking the Registration tab. The default settings should be adequate.
FusionAuth Shopify Integration - User Registration

  • Click the blue Save button in the upper-right corner of the page.
  • You will now be shown a list of your applications. Click the Green looking glass icon next to the newly created application.
FusionAuth Shopify Integration - Get IDP Metadata

  • Copy the Client ID and Client Secret from the Details window.
FusionAuth Shopify Integration - Client ID and Secret

  • You have completed FusionAuth side configurations.
  • Navigate back to the miniOrange Single Sign On-SSO application and click on Add identity Provider button.
Shopify FusionAuth SSO - Go to SSO Application

  • Select OAuth 2.0 protocol.
Shopify FusionAuth SSO - Select OAuth Protocol

  • From the list of IDPs, select Custom IDP.
Shopify FusionAuth SSO - Choose Custom IDP

  • Now, fill in the required details like Client ID, Client Secret, Endpoints, and Scope.
  • Please refer to the below table for configuring the values.
Shopify FusionAuth SSO - IDP Configurations

IDP Display Name [enter any app name of your choice]
OAuth Authorize Endpoint https://<your-fusionauth-instance-url>/oauth2/authorize
OAuth Access Token Endpoint https://<your-fusionauth-instance-url>/oauth2/token
OAuth Get User Info Endpoint https://<your-fusionauth-instance-url>/oauth2/userinfo
Client ID from step 2
Client secret from step 2
Scope openid (enter this text exactly as shown)
  • 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 FusionAuth SSO

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

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

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

  • Map the attributes by referring to the table below:
Attribute Name in Shopify Select the Shopify customer attribute key in which you want to sync incoming attribute value from IDP
Attribute Type IDP Attribute
Attribute Value Select the attribute key which you have fetched from your IDP and want to sync in Shopify
Map Attributes - Shopify FusionAuth 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.

In this Guide, you have configured FusionAuth Single Sign-On (SSO) by configuring FusionAuth as an OAuth Provider and Shopify as an OAuth Client using our Shopify Single Sign-On - SSO Login App. This solution ensures that you are ready to roll out secure access to your Shopify Store using FusionAuth login credentials within minutes.

More FAQs ➔

Yes, you can restrict Shopify SSO access to only users with verified email domains from FusionAuth by configuring domain-based access policies in FusionAuth. Here's how you can do it:

How to restrict access to verified email domain users with FusionAuth and Shopify Plus SSO:
In FusionAuth:

In FusionAuth, you can set up sign-on policies or group rules that only allow users with specific, verified email domains to access certain applications like Shopify.

Using a dedicated SSO application:

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

Yes, it's possible to let users log in through FusionAuth once and access multiple connected Shopify stores without signing in again. By setting up Single Sign-On (SSO) with FusionAuth across each store and using the same session or identity configuration, users can move between stores without repeated logins. This provides a smoother experience while keeping access secure.

How to let users log in through FusionAuth once and access multiple connected Shopify stores:

FusionAuth as the Identity Provider (IdP): FusionAuth acts as the central authority for user authentication.

Shopify as the Service Provider (SP): Each Shopify store acts as a Service Provider (using an SSO application), relying on FusionAuth to verify user identities.

SAML Authentication: The integration is achieved through the SAML protocol, which allows the secure exchange of authentication information between FusionAuth and your Shopify stores.

Centralized User Credentials: User credentials are centralized in FusionAuth, eliminating the need for users to remember different login details for each store.

Yes, you can enforce login through FusionAuth for all users and effectively disable Shopify’s default email-password authentication by using a custom Single Sign-On (SSO) flow.


In FusionAuth:

Ensure that all customers who need access are added as users in your FusionAuth directory. You can organize users into groups, apply policies, or enforce MFA as needed.

Using the miniOrange Shopify SSO application:

Set up FusionAuth as the Identity Provider (IdP) with Shopify as the Service Provider (SP) via SAML, enable SSO in the miniOrange SSO app, and optionally hide default Shopify login/signup options from the storefront to prevent email-password-based access.

This setup ensures that all users accessing your Shopify store must authenticate via FusionAuth, providing centralized access control and disabling Shopify’s native credential-based login.

Yes, you can restrict Shopify store access via miniOrange SSO exclusively to your employees by configuring access controls in FusionAuth. This ensures that only users who are part of your organization and have valid FusionAuth credentials can log in to your Shopify store.

How to configure employees' only access to Shopify Plus with FusionAuth:
In FusionAuth:

Create a dedicated FusionAuth group for employees, add only authorized users (employees) you want to allow access to this group, and assign the Shopify SSO application exclusively to that group.

Using the Shopify SSO application:

Integrate the miniOrange Shopify SSO app with your FusionAuth instance, and configure it to allow only users from the designated employee group to initiate SSO—ensuring that external users are blocked and access to the Shopify store remains strictly employee-only.

 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