Search Results :

×

Two Factor Authentication (2FA) for nopCommerce using OTP over SMS

nopCommerce Two-Factor Authentication (2FA) plugin adds an extra layer of authentication, making your nopCommerce stores more secure. Two-factor authentication, or 2FA, is another name for this sort of MFA, which improves the security of your nopCommerce websites. To protect sensitive data, you must verify that the users attempting to access it are who they say they are. With 2FA, it is possible to protect user passwords and accounts against security threats such as phishing, brute-force attacks, credential exploitation, and others. Role-based 2FA, Domain-based 2FA, IP whitelisting, Customizable KBA questions, Reset 2FA method, Customizable Email and SMS template, Configure Your Own SMS and Email Gateway, and other features are available through the nopCommerce Two Factor Authentication (TFA) plugin.

  • Download the nopCommerce Two-Factor Authentication (2FA) plugin.
  • To install the plugin, login as admin into your nopCommerce store. In the admin dashboard, navigate to Configuration Tab >> Local plugins.
nopCommerce Configuration Tab

  • Click on the Upload plugin or theme button at the top right corner, then in the popup window, click Choose File, select the downloaded plugin ZIP file, and click Upload plugin or theme to proceed.
nopCommerce - Upload Plugin

nopCommerce - Upload Plugin popup window

  • After uploading the plugin, click on Restart Application to apply the changes. Once the application restarts, you will see the plugin listed below. Click on the Install button to install it, and then click Restart Application again to apply the changes.
nopCommerce - Restart application

nopCommerce - Install Plugin

Step-by-step guide for implementing Two-Factor Authentication (2FA) in nopCommerce using OTP over SMS.

  • After successful installation, locate the plugin in the list and click on the Configure button to proceed with the setup.
nopCommerce - Configure Plugin

  • On clicking Configure, you will be redirected to the license activation page, and you will receive a trial license key on your nopCommerce registered email.
  • If you have not received the license key on your provided email, use the Download License Key button in the plugin to download the license file.
nopCommerce - Download License Key

  • To activate the plugin, you can either:
    • Enter the license key received via email in the provided input field.
    • OR

    • Upload the license file that you downloaded using the button mentioned above.
nopCommerce - Activate the plugin

nopCommerce - Activate the plugin

  • Then, check the box "I have read the above conditions and I want to activate the plugin", and click Activate License button.
nopCommerce - Check Box

  • After successful license activation, the plugin dashboard will open as shown below.
nopCommerce 2FA - Dashboard

  • Navigate to the OTP Methods tab. Select OTP over SMS as a two-factor authentication (2FA) method and click on the Configure button.
OTP over Methods - OTP over SMS

  • After clicking on Configure, the OTP over SMS dashboard will open.
OTP over SMS Dashboard

  • Select the User phone attribute from the dropdown and click on Save.
User phone attribute

  • Enter the phone number and click on the Get OTP button.
Get OTP Button

  • After clicking on the Get OTP button the user will receive One Time Passcode on the entered mobile number.
  • Enter the received OTP and click on the Verify OTP button, after verifying OTP the method will be configured and can be enabled for the end user.
  • To enable the method for the end user, click on the OTP over SMS toggle button.
OTP over SMS Method Configured

  • Enable the 2FA for End Users toggle button.
Enable 2FA for End Users

  • To enable 2FA for admins, turn on the Enable 2FA for Admins toggle.
Enable 2FA for Admins

  • Login into your nopCommerce store.
nopcommerce store login

  • Click on Next to proceed.
Secure Your Account

  • Click on Configure to configure OTP over SMS for nopCommerce.
configure OTP over SMS

  • Enter the phone number along with the appropriate country code where you want the OTP sent and click on Get OTP.
configure OTP over SMS - Get OTP

  • Enter the OTP received over SMS and click on Verify OTP.
  • Enter the OTP to confirm your identity and click on Validate.
configure OTP over SMS - verify OTP

  • You have successfully used two-factor authentication (2FA) to log in to your nopCommerce store.

 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again

We'll Reach Out to You at the Earliest!


ADFS_sso ×
Hello there!

Need Help? We are right here!

support