Setup Remember My Device/Trusted Devices for Drupal 2FA
Overview
The Remember My Device feature allows the browser to remember that user has confirmed the identity using 2FA and skip 2FA on subsequent logins. By following this guide you can allow the users to set up Remember My Device/Trusted devices.The Drupal Two Factor Authentication - 2FA / Passwordless Login is available for Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.
Installation Steps
- Using Composer
- Using Drush
- Manual Installation
Prerequisites:
- 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
Configuration Steps
Configure Remember My Device
- Register/Login with miniOrange.
- Navigate to Login Settings tab. (Path - /admin/config/people/miniorange_2fa/login_settings)
- Scroll down to the Remember My Device section and enable the Remember My Device checkbox.
- Configure the following settings:
- Device Profiles Expiry Time (In days) - Select the number of days for which the device profile should be remembered. 2FA will be invoked again once it expires.
- Enter the number of devices - You can configure the number of devices which can be remembered at a time for a user profile. Once this is exceeded, 2FA will be invoked for the users on all the later devices.
You have successfully configured Remember My Device.
User Experiance:
- Open a new browser/private window and go to your Drupal site login page.
- Login with your Drupal credentials.
- Enable Remember this device checkbox and complete the second factor of authentication.
- You have successfully logged in to your Drupal site.
- 2FA will not be invoked on the remembered device for subsequent logins.
Related Articles
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.
[MO_CONTACT_US]