Enable Email OTP Login

Feature Description

In addition to the email and password login, you can also enable passwordless login with email OTP for your Shopify users. When enabled, users can log in securely using a one-time password (OTP) sent to their registered email address, eliminating the need to remember passwords. This provides a more convenient and secure authentication experience, especially useful for customers who prefer quick, passwordless access.

Setup Instructions
  • Navigate to the Shopify Dashboard, and open the Customer Accounts Login application.

    Open the Customer Accounts Login Application

  • On the app dashboard, scroll down to the Storefront Login Options card and click Edit.

    Storefront Login Options card with Edit button on the app dashboard

  • On the Login Options page, open the Storefront Login Settings tab.

  • Turn on Enable Email OTP Login so customers can sign in with their email and a one-time password (OTP).

  • The setting is saved automatically.

    Enable Email OTP Login on Storefront Login Settings

  • Click the b2b login extension link below the toggle you turned on. This opens the theme editor with the login page settings.

  • In the App embeds panel, turn on B2B Login Page Layout and click Save. The storefront login screen only shows the enabled login options once this embed is on.

  • From the page list, select Login Page to customize it.

    Select the Login Page to customize it

  • In the settings panel, you can edit the Title, Subheading and their alignment, choose the Default Login Option (Email/Password or OTP) and the Layout Order, and change the text of the Sign In, Send OTP and Verify OTP buttons.

    Login form title, default login option and button text settings

  • Under Logo Image, upload your logo. It replaces the default icon on the login form.

  • You can also set the Page Background Image, container background, text, button and link colors, adjust the card's border radius, width and padding, show or hide the theme header and footer, or add your own code under Custom Liquid.

  • Click Save in the theme editor.

    Login page logo, background, color and card layout settings

  • The end user will see Email OTP login (and other login options if enabled) on the Shopify Store login screen.

  • Enter the customer’s email address and use the Verify button to receive the verification code and complete sign-in with the one-time password (OTP) sent by email.