OAuth Single Sign-On (SSO) For Shopify Using FusionAuth as IDP
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.
Pre-requisite: Single Sign On - SSO Login Application
To configure SSO into Shopify with FusionAuth as IDP, you will need to install the miniOrange Shopify
Single Sign On - SSO Login Application on your store:
Navigate to the Applications" tab on the FusionAuth dashboard and then click the Green plus
button to add a new 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.
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.
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.
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.
Copy the Client ID and Client Secret from the Details window.
You have completed FusionAuth side configurations.
3. Configure FusionAuth as IDP in Shopify
Again navigate to the App section of the Shopify store and click on Single Sign On - SSO
Click on the Setup IDP button in the top left in the navigation bar.
From the left navigation bar select Configure SSO and click on Add Identity Provider.
Select OAuth 2.0 and refer below table to fill in the required details like Client ID, Client
Secret, Endpoints, and Scope.
Enter the following values and make sure you change <your-fusionauth-instance-url> to the value of
your FusionAuth instance URL:
Click on the Select >> Test Connection option against the Identity Provider you configured.
On entering valid FusionAuth credentials you will see a pop-up window which is shown in the below screen.
5. Testing 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.
You’ll be redirected to the FusionAuth sign-in page.
You can sign in with an existing account or create a new one here. To create a fresh account,
simply click Create an account and you'll be taken to the registration form.
Enter your email address and password, then click the Register button. After creating a new account,
go to the Customers page in your Shopify admin dashboard to ensure that the new user has been
You’ll be successfully logged in to your Shopify store.
In this Guide, you have successfully 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
App. This solution ensures that you are ready to roll out secure access to your Shopify Store using FusionAuth
login credentials within minutes.
This may be because your primary domain would be different from your Shopify domain. To check your
primary domain and make SSO work, follow the steps given here.
This issue arises when either the trial period of your Development plan is expired.
Or if your plan is not auto-renewed from the Shopify end. Contact us at firstname.lastname@example.org to
resolve the plan
upgrade issue and get smooth functioning of the SSO – Single Sign On
As email is a required entity in Shopify for account creation as well as login operation, Single
Sign On is not successful in this case. To resolve this error, please follow given here.
When I am performing SSO, I am getting ‘Please verify if Shopify App is installed’ error. To resolve
this error, please follow given here.
If your error or query is not listed here, click here
to see others.
Frequently Asked Questions (FAQs)
I have followed the steps to set IdP but where can I check SSO?
Follow the steps outlined here to configure SSO in Shopify with your preferred
I installed the Shopify SSO application. I clicked on the “SETUP IDP” option but nothing opened up.
Redirection to any other site might be blocked in the browser. Please follow the steps given here to resolve the issue.
When I try to perform SSO, I get redirected to the “Incorrect App Configuration” page and then after
subsequent attempts, I get redirected to https://store.xecurify.com/moas/login page.
You might be trying to perform SSO in the different tab of the same browser where you have opened
our Single Sign-On – SSO Application or accessed the configuration portal of our application. In
this case, SSO will be restricted due to security reasons.
Try to perform Single Sign On in a new incognito/private window or in a different
browser in order to make SSO work.
After performing SSO, I want my customers to redirect to the collections or discount offer page.
Follow the steps outlined here to redirect your customer to collections/cart or
any other page.
How do I enable the SSO application’s auto redirect to the IDP feature on my Shopify store?
You must upgrade to the SSO application’s Enterprise plan to enable the Auto-Redirect to the IDP
feature. Follow the steps outlined here to enable this feature.
preferred Identity Provider and start setting up SSO for Shopify right away
If you dont hear from us within 24 hours, please feel free to send a follow up email to email@example.com
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.