Magento 2 OTP Login

Installation and User Guide for Magento 2 OTP Login Extension

Table of Contents

  1. Installation
    • Installation via app/code
    • Installation via Composer
  2. Configuration Settings for OTP Login
  3. Sign in using OTP
  4. Registration using OTP
  5. Update Mobile Number

Installation

https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer

Configuration Settings for OTP Login

Go to Admin > Stores > Configuration > Scommerce Configuration > OTP Login

General Settings

image (37).png

OTP Configuration

image (8).png

API Configuration

This section is to configure TWILIO as the SMS provider used for sending OTPs. Please visit https://www.twilio.com/en-us to create an account and extract the information to be added below:-

image (9).png

Emails

This section is to configure the Sender Email and the Email template used to send OTPs via Email:-

image (10).png

Messages

This section is to configure the Sender Email and the Email template used to send OTPs via Email:-

image (11).png

Sign In Using OTP

Login with Mobile

Go to the frontend and click on Sign In, you will it opens a popup to signin with Mobile. Add your Mobile number and click on Send OTP. Make sure Sign in with Mobile is enabled in the configuration only then you will be able to sign in using Mobile Number.

image (5).png

Enter the OTP to sign in

image (12).png

If the OTP is expired click on resend to resend the otp.

image (13).png

Login with Email

Go to the frontend and click on Sign In, you will it opens a popup, select Signin with Email.

image (14).png

Add credentials and proceed an OTP will be sent to your email, add to login to the store.

image (15).png

Registration using OTP

Go to the store and click on "Create an account", the registration will popup, add your details alongwith your phone number.

image (6).png

Finally click on Create Account and an OTP will be sent to your mobile number use it to register on the store.

image (7).png

Update Mobile Number

Users can update their Phone Number with the Account by signing in to the store and then going to the "My Account" section. From the left menu click on "OTP Settings". Add your new number and password to update the mobile number.

image (16).png

If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.


Revision #4
Created 13 May 2025 07:08:46 by scommerce
Updated 24 October 2025 09:43:12 by scommerce