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 B2B Login & Onboarding 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.

  • Log in to your Shopify Admin.
  • Go to AppsShopify App Store
  • Search for B2B Login & Onboarding
  • Install MO: B2B Login & Onboarding app to your store
  • Open the app from Apps section in left navigation menu to start the configuration
  • The store must be a Shopify Plus store with Customer Accounts activated.
  • Go to your Shopify store and navigate to the App section and click on B2B Login & Onboarding application.
Open B2B Login and Onboarding app in Shopify Admin

  • Click on the Setup B2B Login tab.
Setup B2B Login tab selected in app

  • Now, click on the Configure Login button as shown in the image below.
Configure Login button on Setup B2B Login screen

  • You will be redirected to the B2B Configuration page. Configure the login screen as per your requirements.
  • You can choose from multiple login options (User Sign-Up, Email OTP Login, Email Password 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).
    • Click on Save.
    Enable Email OTP Login under Login Options for B2B

    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).
    • Click on Save.
    Enable Phone OTP Login under Login Options for B2B

  • The end user will see all the login options enabled above on the Shopify B2B Store login screen.
Shopify B2B storefront login screen with enabled options

  • 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.
Restrict access to non-logged-in users in B2B Restriction Settings

  • To complete the configuration, enable the extension by clicking on B2B Restrict Store Access.
Enable B2B Restrict Store Access theme extension

  • Enable the B2B Restrict Access extension and click Save to apply the settings.
B2B Restrict Access extension saved in theme editor

  • You can whitelist a page so that any user can view or access it. Navigate back to the App Dashboard and click the + Add Pages button under the Whitelisted Pages section.
Add Pages under Whitelisted Pages in B2B app

  • Select the pages you want to whitelist, then click Done to save your selection.
Select storefront pages to whitelist for public access

  • Click on the Connect Store button in the left-navigation bar.
Connect Store in app sidebar for customer account setup

  • Scroll down and copy these values and click the Settings button as shown to connect the store with the app.
Copy OAuth values and open Shopify Settings from app

  • Click on the Manage Providers button.
Manage Providers in Shopify customer account authentication

  • Click on Connect Provider button.
Connect to Provider in Shopify customer accounts

  • Provide an Identity provider name and select Provider as Custom or other if you dont have any IDP listed there.
Identity provider name and Custom or other provider type

  • Scroll down to Application info section and paste the values copied from the above step. Click on Save.
Paste app values into Application info and save

  • Click on Activate button.
Activate identity provider in Shopify

  • Navigate back to the App and Click on the Test Connection button.
Test Connection button in B2B Login and Onboarding app

  • Click on the Sign up link to create a account for testing.
Sign up link on B2B customer login screen

  • Fill out the fields and click on the Sign up button to create a account.
B2B sign up form with email and password fields

  • Provide the One Time Password (OTP) received over Email and click on Verify to complete the Test Connection.
Enter email OTP to verify test connection

  • You will see the Test connection successful window. Click on Close Window.
Test connection successful message in B2B app

  • 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 in Shopify Plus with username/password, phone OTP, or enterprise SSO - all from a single, branded login screen.


 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