Search Results :

×

Provide Username/Password or Email OTP Login along with SSO via any IDPs for Shopify Plus Customer Accounts

Merchants can let customers log in using username and password or Email OTP, while also supporting SSO via enterprise identity providers (IdPs) like Okta, Azure AD, and AWS Cognito using our Shopify Single Sign-On (SSO) Application. This ensures a flexible and secure authentication experience, allowing customers to choose their preferred login method while enabling merchants to connect seamlessly with enterprise identity platforms.

To enable SSO login for your Shopify Plus store (Customer Accounts), you need:


Youtube-color Created with Sketch.

Check out our video, to know more about how Single-Sign-On works in Shopify.

Step-by-step guide to set up username/password or email OTP as login methods, with the option to configure SSO for Shopify Plus customer accounts using any identity provider (IdP).

  • Navigate to Settings in Shopify Admin.
Shopify B2B in Single Sign-On (SSO) - Admin Settings

  • Now navigate to Apps and sales channels and click on Develop apps button.
Shopify B2B in Single Sign-On (SSO) - Develop Apps

  • Click on Create an app button.
Shopify B2B in Single Sign-On (SSO) - Create an App

  • Provide a name for your app and click on Create app button.
Shopify B2B in Single Sign-On (SSO) - Create App

  • Click on the Configure Storefront API scopes button.
Shopify B2B in Single Sign-On (SSO) - Configure Storefront API Scope

  • Check all the fields under Customers section and click on Save as shown in below image.
Shopify B2B in Single Sign-On (SSO) - Check Customer Permissions

  • Click on Install app button.
Shopify B2B in Single Sign-On (SSO) - Install App

  • Copy the Storefront API access token and keep it handy as it will be used in the next step.
Shopify B2B in Single Sign-On (SSO) - Copy Storefront Access Token

  • Go to your Shopify store and navigate to the App section and click on Single Sign On - SSO login application.
Shopify B2B in Single Sign-On (SSO) - Configure Application

  • Click on the B2B tab in the left navigation menu.
Shopify B2B in Single Sign-On (SSO) - Navigate to B2B Option

  • Click on the Setup button in the Setup B2B section.
Shopify B2B in Single Sign-On (SSO) - select Setup B2B

  • Now paste the Storefront Access Token value copied in the previous step. Click on Next.
Shopify B2B in Single Sign-On (SSO) - Paste Storefront Access Token

  • You will be redirected to the B2B Settings page. Configure the login screen as per your requirements.
  • You can choose from multiple login options (User Sign-Up, Email OTP Login, and Phone OTP Login) to add to your Shopify B2B store’s login page.

    Enable Email OTP Login

    • Activate the Enable Email OTP Login option under the Login Options for B2B tab to let users log in using their email and a one-time password (OTP). This feature can be used in addition to the standard email and password login method for B2B users.
    • Click on Save.
    Shopify B2B in Single Sign-On (SSO) - Enable Passwordless OTP Login

    Enable Phone OTP Login

    • Activate the Enable Phone OTP Login option under the Login Options for B2B tab to let users log in using their Phone number and a one-time password (OTP). This feature can be used in addition to the standard email and password login method for B2B users.
    • Click on Save.
    Shopify B2B in Single Sign-On (SSO) - Enable Phone OTP Login

  • The end user will see all the login options enabled above on the Shopify B2B Store login screen.
Shopify B2B in Single Sign-On (SSO) - End User login Screen

  • Activate the Restrict Access to Non-Logged-In Users option under the B2B Restriction Settings tab to ensure that only logged-in B2B users can access store content. Non-logged-in users will be blocked from viewing the store, except for whitelisted pages.
  • Click on Save.
Shopify B2B in Single Sign-On (SSO) - Activate the Restrict Access to Non-Logged-In Users Option

  • If you want to whitelist a page so that any user can view or access it, click the + Add Pages button under the Whitelisted Pages section.
Shopify B2B in Single Sign-On (SSO) - Add whitelist pages

  • Select the pages you want to whitelist, then click Done to save your selection.
Shopify B2B in Single Sign-On (SSO) - Select pages to whitelist

  • Click on Save.
Shopify B2B in Single Sign-On (SSO) - Save Settings

  • To complete the configuration, enable the extension by clicking on B2B Restrict Store Access.
Shopify B2B in Single Sign-On (SSO) - Enable B2B Restrict Store Access Extension

  • Enable the B2B Restrict Access extension and click Save to apply the settings.
Shopify B2B in Single Sign-On (SSO) - Enable B2B Restrict Access Extension

  • Navigate back to the App Dashboard and click the Next button as shown in the image below.
Shopify B2B in Single Sign-On (SSO) - Login Screen Settings

  • Scroll down and copy these values and click the Settings button as shown to connect the store with the app.
Shopify B2B in Single Sign-On (SSO) - Copy values for Customer Accounts Setup

  • Click on the Manage Providers button.
Shopify B2B in Single Sign-On (SSO) - click on Manage Providers

  • Click on Connect Provider button.
Shopify B2B in Single Sign-On (SSO) - Click on Connect Provider button

  • Provide an Identity provider name and select Provider as Custom or other if you dont have any IDP listed there.
Shopify B2B in Single Sign-On (SSO) - Provide Identity provider name and choose IDP

  • Scroll down to Application info section and paste the values copied from the above step. Click on Save.
Shopify B2B in Single Sign-On (SSO) - Paste values in Application info and save

  • Click on Activate button.
Shopify B2B in Single Sign-On (SSO) - Click on Activate

  • Navigate back to the App and Click on the Test Connection button.
Shopify B2B in Single Sign-On (SSO) - Login Screen Settings

  • Click on the Sign up link to create a account for testing.
Shopify B2B in Single Sign-On (SSO) - Click on the Sign Up link

  • Fill out the fields and click on the Sign up button to create a account.
Shopify B2B in Single Sign-On (SSO) - Fill out the fields

  • Provide the One Time Password (OTP) received over Email and click on Verify to complete the Test Connection.
Shopify B2B in Single Sign-On (SSO) - Provide OTP received over email

  • You will see the Test connection successful window. Click on Close Window.
Shopify B2B in Single Sign-On (SSO) - Test Conenction Successful

  • To add the Login with your IDP button to your login screen, you need to configure your IdP in the SSO application Click here to view all supported identity providers and follow their setup guides. Once the configuration is complete, an SSO with your IdP button will automatically appear on the login screen. If the button does not appear, please contact us for support.

By completing these steps, you can offer customers a seamless and secure login experience with username/password, email OTP, or enterprise SSO — all from a single, branded login screen. If you face any issues or need help with customisation, our team is here to assist you.


Please reach out to us at shopifysupport@xecurify.com, and our team will assist you with setting up the Shopify SSO application. Our team will help you to select the best suitable solution/plan as per your requirement.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support