Configure Drupal Two-factor Authentication ( Hardware Token / Yubikey )

Configure Drupal Two-factor Authentication ( Hardware Token / Yubikey )

Setup Hardware Token / Yubikey with Drupal module. This guide will help you to configure Hardware Token / Yubikey as Two Factor Authentication( 2FA ) method for 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 Hardware token 2FA method

  • Register/Login with miniOrange.
  • Drupal 2FA registration
  • Navigate to Setup Two-Factor tab. Select Yubikey Hardware Token and click on the Configure link.
  • Drupal 2FA select Hardware Token method
  • Follow the Instructions mentioned on the screen.
  • Drupal 2FA Follow this steps
  • You have successfully Configured Yubikey Hardware Token 2FA method.
  • Drupal 2FA Successfully Configured Hardware Token method

Step 3: Try login using miniOrange 2-Factor module ( Yubikey Hardware Token )

  • Once you complete the Yubikey Hardware Token setup, open a new browser/private window, and login into your Drupal site. You will be asked to authenticate your identity using the Yubikey Hardware Token ( 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.

Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to