Configure Drupal Two-factor Authentication (OTP over SMS)

Configure Drupal Two-factor Authentication ( OTP over SMS )

Setup OTP over SMS with Drupal module. This guide will help you to configure OTP over SMS as Two Factor Authentication ( 2FA ) method for your Drupal site. Drupal 2FA module will add a second layer of authentication to your Drupal account to increase the security of your site from unwanted hacks and unauthorized login attempts.

Step 1: Install miniOrange 2-Factor authentication module

  • Download miniOrange Drupal 2FA Module.
  • On your Drupal admin console go to Extend/Modules Install new module.
  • Drupal 2FA install new module
  • Browse and choose the downloaded zip then click on Install button.
  • Drupal 2FA upload module file
  • Click on Enable newly added modules link.
  • Drupal 2FA enable new module
  • Scroll down till you find miniOrange Two-Factor Authentication. Click on the checkbox next to it and click on the Install button to enable the module.
  • Drupal 2FA install
  • Now click on Configuration option from the top nevigation bar and select miniOrange Second Factor Authentication.
  • Drupal 2FA configure module

Step 2: Configure OTP Over SMS 2FA method

  • Register/Login with miniOrange.
  • Drupal 2FA registration
  • Navigate to Setup Two-Factor tab. Select OTP over SMS and click on the Configure link.

    Drupal 2FA select OTP over SMS method
  • Enter Mobile Number with Country Code. and click on Verify button.
  • Drupal 2FA Enter Mobile Number
  • Enter OTP here, and click on Validate OTP button.
  • Drupal 2FA Enter OTP over SMS
  • You have successfully Configured OTP over SMS 2FA method.
  • Drupal 2FA Successfully Configured OTP over SMS method

Step 3: Try login using miniOrange 2-Factor module ( OTP over SMS )

  • Once you complete the OTP over SMS setup, open a new browser/private window, and login into your Drupal site. You will be asked to authenticate your identity using the OTP over SMS ( 2FA ) method.

Free Trial

If you don't find what you are looking for, please contact us at or call us at +1 978 658 9387 to find an answer to your question about Drupal Two Factor Authetication.