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
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.
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.
Register/Login with your miniOrange account.
Navigate to the Setup Two Factor tab and scroll down to the Other 2FA
Click on the Configure button next to Yubikey Hardware Token.
Enter the OTP in Hardware Token One Time Passcode
You have successfully configured Yubikey Hardware Token - 2FA method.
Open a new browser/private window and navigate to the login page of the Drupal site.
Login with the Drupal credentials.
Enter your Hardware Token One Time Passcode and click on Verify button.
If the authentication is successful you will be logged in to the Drupal site.
Explore the advanced features offered by the module with full-featured trial. You can initiate the trial request
Request 7-day trial button under Register/Login tab of the module or reach out to
us at email@example.com for
one-on-one assistance from Drupal expert.
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.
If you dont hear from us within 24 hours, please feel free to send a follow up email to firstname.lastname@example.org
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.