User Guide of Magento 2 OTP Login Extension
At the backend, go to FME EXTENSIONS > Configurations. Here you can find the extension configurations.
General Configurations
Now, expand the General Configurations tab and set the following configurations:
- Module Enable: Select ‘Yes’ or ‘No’ to Enable/Disable the module
- Need OTP Verification On Customer Registration: Enable OTP on customer registration. Send OTP to mobile for instant account verification
- OTP Login With Number/Email: Enable OTP on store login page
- Need OTP On Checkout: Enable OTP verification on checkout page. On checkout page, OTP is only applicable for CoD payment method only
- Need OTP On Phone Number Update: Enable OTP verification whenever a customer update the mobile number
- Allow Countries: Select your desired country for which you want to enable the OTP login & verification service
Firebase SMS API Settings
First of all, you need to generate a Firebase SMS API key. For this, create an account here. If you need any help then watch this tutorial to create Firebase SMS API key.
Once you have created the Firebase SMS API key, then expand the Firebase SMS API Settings tab and set the following configurations:
- API Key: Add the API key from your Firebase account
- Authentication Domain: Enter the Authentication Domain here mentioned in your Firebase account
- Project ID: Enter the Project ID mentioned in your Firebase account
- Storage Bucket: Enter the Storage Bucket from Firebase account
- Messaging Sender ID: Enter the Message Sender ID from Firebase account
- Application ID: Enter the Application ID from Firebase account
- Measurement ID: Enter the Measurement ID from Firebase account
Email Templates
Now, expand the Email Templates Tab, here you can select:
- Email Template
- Enter OTP Text
Now, expand the Other Features tab.
OTP Expiry Time: Store owners can also set OTP expiry time. Set the time in seconds in the given field.
- Customize the OTP button according to your requirements. You can customize the:
- OTP Button Color
- Button Text Color
SMTP Configurations
SMTP is not required for Mobile OTP but if you want to use Email OTP, then you need to configure SMTP. Download & install our SMTP extension.