Search Results :

×

How to set up OAuth Single Sign-On (SSO) for Shopify using LinkedIn as Identity Provider?

miniOrange allows LinkedIn to act as an IDP (Identity Provider), which allows users to Single Sign-On (SSO) into Shopify using LinkedIn Credentials. Our application is compatible with all the SAML / OAuth-compliant Identity Providers. We will go through a step-by-step guide to configure Single Sign-On (SSO) into Shopify using LinkedIn as IdP (Identity Provider) and Shopify store as 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 LinkedIn SSO in Shopify configuration
  • Go to your Shopify store and navigate to the App section and click on Single Sign On - SSO login application.
Shopify LinkedIn SSO - navigate to Shopify SSO App

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

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

  • Now choose LinkedIn from the list of IDPs.
Shopify LinkedIn SSO - Choose LinkedIn as IDP

  • Copy the OAuth Callback URL and keep it handy as it will be used in further steps.
Copy Callback URL from SSO App

  • Go to LinkedIn developer account in order to create a new application. Click on Create Application button to create a new application.
Create Application in LinkedIn

  • Enter the required details.
Enter Details in LinkedIn

  • Paste the Redirect/ Callback URL from above step and enter it under Auth >> OAuth 2.0 settings -> Authorized redirect URLs textbox.
Authorized Redirect URLs in LinkedIn

  • Click on Create app button.
Create App in LinkedIn

  • Navigate to the Auth section. Copy the Client Id and the Client Secret and save it in your miniOrange OAuth App configuration under Client Id and the Client Secret text fields respectively.
View Client ID and Secret

  • Now navigate to Products section and enable the following options.
Enable Single Sign-On in LinkedIn

You have completed the LinkedIn side configuration to configure SSO into Shopify using LinkedIn Credentials.
  • Navigate back to the miniOrange Single Sign On-SSO application.
Shopify LinkedIn SSO - Go to Shopify SSO App

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

  • Select OAuth 2.0 protocol.
Shopify LinkedIn SSO - Select OAuth 2.0 protocol

  • From the list of IDPs, select LinkedIn.
Shopify LinkedIn SSO - Select LinkedIn 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.
IDP Display Name [enter any app name of your choice]
Client ID From step 2
Client secret From step 2
Scope r_emailaddress r_liteprofile w_member_social (enter this text exactly as shown)
Shopify LinkedIn SSO - Provide Client ID and Secret, Scopes and endpoints

  • Now you can click on Save.

You have completed the Shopify side configuration to set up SSO between AWS LinkedIn 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.
Test Connection - Shopify LinkedIn SSO

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

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

  • Click on the + Attribute Mapping button to map attributes between Shopify and LinkedIn.
Attribute Mapping - Shopify LinkedIn 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 LinkedIn 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 LinkedIn Single Sign-On (SSO) by configuring LinkedIn 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 LinkedIn login credentials within minutes.

More FAQs ➔

After you save and enable LinkedIn as your OAuth IdP in the miniOrange Single Sign-On – SSO app, test login from your storefront. For Legacy Customer Accounts, open the store login page (for example /account/login) and use the SSO widget, then sign in with your LinkedIn account. For Customer Accounts, use the account icon in the store header and complete login through the LinkedIn OAuth flow. If shoppers cannot find login, enable the login link under Shopify Admin → SettingsCustomer accounts.

In the Shopify SSO app, add an identity provider with OAuth 2.0 and select LinkedIn, then copy the OAuth Callback URL shown on that screen. In your LinkedIn Developer Portal app, go to AuthOAuth 2.0 settings and paste that URL into Authorized redirect URLs exactly as copied-any mismatch will cause login or token errors. Use the Client ID and Client Secret from the same Auth section when you complete the LinkedIn IdP setup in Shopify.

After setting up LinkedIn SSO on your Shopify store, you can redirect customers to any page after they log in. Open the miniOrange Single Sign-On – SSO app, go to More Actions, then Additional Settings for the configured LinkedIn IdP. Open the Post Login Configurations tab, enter the path where users should land (for example /cart or /collections), and save your settings.

You can check the full documentation here.

To enable Auto-Redirect to IdP for LinkedIn SSO, upgrade the SSO app to the Enterprise (Scale) plan via AppsminiOrange Single Sign-OnPricing. Then open Global Configurations, enable Auto Redirect to IdP under Store Access Settings, and save. Choose whether it applies to the whole store or only the login page so shoppers are sent straight to LinkedIn sign-in.

You can check the full documentation here.

 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