Enable Phone OTP Login
Feature Description
In addition to email and password login, you can enable Phone OTP Login for your Shopify users. When enabled, users can log in securely using a one-time password (OTP) sent to their registered phone number via SMS, removing the need for passwords. This offers a quick and secure authentication method, making it ideal for customers who prefer fast, passwordless access via their mobile devices.
Setup Instructions
-
Navigate to the Shopify Dashboard, and open the Customer Accounts Login application.

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

-
On the Login Options page, open the Storefront Login Settings tab.
-
Turn on Enable Phone OTP Login so customers can sign in with their phone number and a one-time password (OTP) sent via SMS.
-
The setting is saved automatically. The b2b login extension link appears below the toggle.

-
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.

-
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.

-
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.

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