Search Results :

×

Setup Hardware Token / Yubikey as 2FA/MFA for Drupal


Two-factor authentication (2FA) plays a key role in securing Drupal accounts against password breaches by adding an additional layer of security. By following this document you can configure Hardware Token (YubiKey/U2F) as a Two Factor Authentication - TFA method for Drupal account. The Drupal Two Factor Authentication - 2FA / Passwordless Login is available for Drupal 7, Drupal 8, Drupal 9 and Drupal 10.

Installation Steps:


  • Download the module:
    composer require 'drupal/miniorange_2fa'
  • Go to Extend menu on your Drupal admin console and enable the module by enabling the checkbox and click on Install button.
  • Configure the module at:
    {BaseURL}/admin/config/people/miniorange_2fa/customer_setup
  • Install the module:
    drush en miniorange_2fa
  • Clear the cache:
     drush cr
  • Configure the module at:
    {BaseURL}/admin/config/people/miniorange_2fa/customer_setup
  • Navigate to Extend menu on your Drupal admin console and click on Install new module.
  • Install the Drupal Two Factor Authentication / Passwordless login module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on Install button.
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_2fa/customer_setup

Configure Yubikey Hardware Token as 2FA method:

  • Once the module is installed navigate to the Configuration section in the admin console of Drupal site and click on miniOrange Second Factor under people section. (/admin/config/people/miniorange_2fa/setup_twofactor)
  • Register/Login with your miniOrange account.
  • Navigate to the Setup Two Factor tab and scroll down to the Other 2FA methods section.
  • Click on the Configure button next to Yubikey Hardware Token.
  • Drupal-2FA-Yubikey-Hardware-Click-Configure-Button.webp
  • Enter the OTP in Hardware Token One Time Passcode
  • Drupal-2FA-Yubikey-Hardware-Enter-OTP-Token

You have successfully configured Yubikey Hardware Token - 2FA method.

Verify 2FA:

  1. Open a new browser/private window and navigate to the login page of the Drupal site.
  2. Login with the Drupal credentials.
  3. Enter your Hardware Token One Time Passcode and click on Verify button.
  4. If the authentication is successful you will be logged in to the Drupal site.

Additional Features:

Explore the advanced features offered by the module with full-featured trial. You can initiate the trial request using Request 7-day trial button under Register/Login tab of the module or reach out to us at drupalsupport@xecurify.com for one-on-one assistance from Drupal expert.

 Case Studies
miniOrange has successfully catered to the use cases of 400+ trusted customers with its highly flexible/customizable Drupal solutions. Feel free to check out some of our unique case studies using this link.
 Other Solutions
Feel free to explore other Drupal solutions that we offer here. The popular solutions used by our trusted customers include SSO, User Provisioning, Website Security. 
  24*7 Active Support
The Drupal developers at miniOrange offer quick and active support for your queries. We can assist you from choosing the best solution for your use case to deploying and maintaining the solution.
Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com