Role Based 2FA provides you with the ability to add a layer of security with 2FA/TFA on selected roles like admin
while allowing other users to log in to the site only with basic authentication with a Drupal username and Password.
This document will walk you through the steps to configure 2FA/MFA for specific Drupal roles with Drupal 2FA
module.The Drupal Two Factor
2FA / Passwordless Login is available for Drupal 7, Drupal 8, Drupal 9 and Drupal 10.
The following checkboxes are enabled under Login Settings tab of the module:
Enable Two-Factor module
Invoke Inline Registration to setup 2nd factor for users
Role Based 2FA
Register/Login with miniOrange.
Navigate to Login Settings tab.
Scroll down to the Role based 2FA section and enable the role based 2FA checkbox then you can
choose specific roles for which you want to enable two factor authentication.
Click on the Save Settings button.
Open a new browser/private window and navigate to login page of Drupal site.
Log in with your Drupal credentials.
If the user has configured Drupal role, then 2FA will be invoked.
User will be logged in after the second fector authentication.
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 firstname.lastname@example.org 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 email@example.com
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.