Setup Google Authenticator as 2FA / TFA method

Last updated on
14 October 2025

This document will help you to configure Google Authenticator as Second Factor Authentication - 2FA / TFA method for Drupal account using the Two Factor Authentication - TFA / Passwordless Login module. This module is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.

Setup Video:

 Drupal Google Authenticator Youtube Video

Check out the Installation steps: 

Installation Steps

Prerequisites:

  1. The module is activated on your Drupal site. (Follow Installation steps)
  2. The latest version of the Google Authenticator app must be installed on devices running iOS or Android.

Setup Google Authenticator 2FA method:

  1. Navigate to the 2FA for Primary Admin tab of the module.
    Path: /admin/config/people/miniorange_2fa/setup_twofactor
  2. Scroll down to find the TOTP-based 2FA methods section.
  3. In the Action column next to a Google Authenticator, click the Configure button.
  4. A Configure Google Authenticator window will appear; scan the QR code with the Google Authenticator app.
  5. In Step 3: Enter the passcode generated in the Google Authenticator app into the Passcode text field.
  6. Click on the Verify button.

You have successfully configured the Google Authenticator - TFA method.

User Experience:

Once you complete the Google Authenticator setup, open a new browser/private window, and login into your Drupal site. You will be asked to authenticate your identity using the configured 2FA method - Google Authenticator.

End User 2FA setup

Follow this setup guide to set up 2FA for end users and check the end-user experience.
 

Contact our 24*7 support team

Feel free to reach out to our Drupal experts at drupalsupport@xecurify.com if you need any sort of assistance.   

 Get In Touch With Us Join Our Slack Channel

back to top Back to top

Help improve this page

Page status: No known problems

You can: