Search Results :

×

How to Setup Google Authenticator for WordPress Two-Factor Authentication?


Google Authenticator is a popular, free-to-use, app-based two-factor authentication(2FA) method to secure a user’s WordPress account.

Why should you choose the Google authenticator method for your WordPress site?

  • Generates time-based one-time password.
  • Supports multiple accounts.
  • Works Offline.
  • It’s completely free to use.

You can download miniOrange 2-Factor Authentication(2FA) plugin using the following link:

This plugin can be configured for any TOTP-based/OTP Login 2fa methods like Duo/Microsoft/Google Authenticator. It supports OTP login based 2fa methods [24/7 SUPPORT]

  Tested with 6.0.1

miniOrange Two-Factor Authentication Plugin has Universal support for all the authenticator apps along with Google authenticator in the free version of the plugin itself. Following are the few examples:-

Let's start the Google authenticator setup with the miniOrange Two-Factor Authentication plugin to make the user's account secure.

Pre-requisites For Setting Up Google Authenticator as 2FA method.

Before setting up 2FA, ensure you have:-

  • An active WordPress site.
  • Administrative access to the site.
  • A smartphone (Android or iOS) with the Google Authenticator app installed.(You can install Google Authenticator App from the Google Play Store for android and the Apple App Store for iOS respectively.)
  • miniOrange two-factor authentication plugin installed on your WordPress website.(You can free version WordPress 2FA from the WordPress plugin directory.)

Getting started with the Google Authenticator setup

Let’s see how an administrator can set up Google Authenticator for users. This can be done in two very simple ways:-

  1. Setup Wizard
  2. Dashboard of the plugin

1. Google Authenticator Setup through Setup Wizard

The setup wizard appears right after the successful installation and activation of the WordPress 2FA plugin. The Wizard guides you throughout the process of setting up 2FA(in this case Google Authenticator.)

Let’s follow the steps below to set up the Google Authenticator method as 2FA for your users.

    Step 1: After activating the plugin, the following setup wizard screen appears

  • Click on the Let’s get started! button.
  • setup google authenticator - let's get started button

    Step 2: The wizard guides you to choose any one options for inline registration.
    There are two option under inline registration:-

  • Choose the first option “User should setup 2FA during first login.”
    Choosing this option as name suggests will make user’s compulsorily configure 2FA methods (in this case google Authenticator).
  • Click on the Continue Setup button.
  • setup google authenticator - user should setup 2FA during first login

    Step 3: Next you are guided to choose the user’s role for which you want to set Google authenticator as 2FA method.

  • Choose the ”All users” option to set 2FA for all and click on the Continue Setup button.
  • setup google authenticator - choose all users
    OR
  • Choose only for a specific roles option.
  • Select the particular role for which you want to set 2FA. (As administrator has been chosen here. This will set the Google Authenticator method as 2FA only for the administrator's role.)
  • Then, click on the Continue Setup button.
  • setup google authenticator - choose particular role like admin

    Step 4: There are again two options:-

    1. Users should be directly enforced for 2FA Setup:- If you don’t want to give your users any period to set 2FA you can go with the first option.
    Users will have to set 2FA during their first login to gain access to the account.

    2. Give users a grace period to configure 2FA:- choosing this option will allow you to give your users a certain grace period within which users will be required to set their 2FA. Users will have to set 2FA after expiration of the grace period.

  • Choose the “Users should be directly enforced for 2FA Setup” option and click on the All Done button.
  • setup google authenticator - enfore 2fa for users
  • You have successfully configured the two-factor authentication.
  • google authenticator setup - compelted

Steps for users to configure Google Authenticator

After the above setting of 2FA with few easy steps, users are prompted to configure list of two factor authentication method including Google Authenticator.

  • Navigate to the WordPress Login page and enter the user’s login credentials.
  • google authenticator setup - enter admin's username and password and login
  • Choose the “Google/Authy/Microsoft Authenticator” button. You are prompted to configure a two-factor method during first login.
  • choose google Authenticator option - google authenticator setup
  • The configuration process of Google Authenticator setup is divided into three steps:-

    1. Choose Google Authenticator from the dropdown (in this case you will already find it selected.)

    2. Open the Google Authenticator app on your phone. Click on the Plus button and scan a QR code.

    3. Copy the 2FA Code generated in the Google Authenticator app in your mobile phone and enter the 2FA code in the text box provided and click on the Verify button.

  • google authenticator setup - scan the qr code

    Now you must carefully store the backup codes provided to you. These codes will help you login when you become locked out of your account for any reason.

  • Click on the Finish button to finish it.
  • google authenticator setup - store the backup code
  • The user has successfully logged into the account.
  • login to the admin account - Setup google authenticator

    Subsequent Login for user’s account through Google Authenticator

    Let’s see how user's subsequently login to their account after configuration of google authenticator during first login.

  • Go to the WordPress Login page and enter the user’s(in this case admin) credentials to login.
  • google authenticator setup - enter admin's username and password and login
  • Enter the 2FA code generated in the Google Authenticator App.
  • Click on the Verify button.
  • setup google autheenticator - enter 2fa code to verify
  • The user has successfully logged into the account.
  • login to the admin account - Setup google authenticator

2. Google Authenticator setup form plugin dashboard.

    If you choose to Skip Setup Wizard, here's an alternate way to setup Google Authenticator through the plugin dashboard.

    Google Authenticator setup from plugin dashboard - skipping setup wizard

    After clicking on the Skip Setup Wizard option, you will be redirected to the plugin dashbord i.e, Login Settings tab of two-factor authentication menu where you can enable 2FA for all the desired roles.

  • Enable 2FA for the all the roles for which you need to set 2FA.
  • Then, Click on the Save Settings button.
  • google authenticator setup - plugin dashboard  - for other roles

Steps for users to configure Google Authenticator

  • Go to the WordPress login page and enter the user’s login credentials.
  • google authenticator setup - enter user’s and password and login
  • Choose the “Google/Authy/Microsoft Authenticator” button. You are prompted to configure a two-factor method during the first login.
  • choose google Authenticator option - google authenticator setup
  • The configuration process of Google Authenticator setup is divided into three steps:-

    1. Choose Google Authenticator from the dropdown (in this case you will already find it selected.)

    2. Open the Google Authenticator app on your phone. Click on the Plus button and scan a QR code.

    3. Copy the 2FA Code generated in the Google Authenticator app in your mobile phone and enter the 2FA code in the text box provided and click on the Verify button.

  • google authenticator setup - scan the qr code

    Now, you must carefully store the backup codes provided to you. These codes will help you login when you become locked out of your account for any reason.

  • Click on the Finish button to finish it.
  • google authenticator setup - store the backup code
  • The user has successfully logged into the account.
  • login to the admin account - Setup google authenticator

    Subsequent Login for user’s account through Google Authenticator

    Let’s see how user's subsequently login to their account after configuration of google authenticator during first login.

  • Go to the WordPress Login page and enter the user’s credentials to login.
  • google authenticator setup - enter users username and password and login
  • Enter the 2FA code generated in the google Authenticator App.
  • Click on the Verify button.
  • setup google autheenticator - enter 2fa code to verify
  • The user has successfully logged into the account.
  • login to the user account - Setup google authenticator
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