Add Authenticator as a Second Factor

On this page
Starter plan required

This feature requires at least a Starter plan.

Available since 1.26.0

An authenticator applicationAn app that generates time-based one-time passwords for multi-factor authentication. Many operating systems and password managers include an authenticator, and Wikipedia keeps a comparison of authenticator apps that includes free and open source options., such as Google Authenticator or Authy, generates a Time-Based One-Time PasswordAn algorithm that computes a time-synchronized one-time password from a shared secret key and current timestamp. (TOTP) for the user to enter at login.

Enable the Authenticator Method on the Tenant#

FusionAuth enables the authenticator method on every tenant by default. To turn the method on or off, navigate to Tenants -> Edit Tenant -> Multi-Factor and set Enable authenticator (TOTP) MFA.

The tenant Multi-Factor tab with the authenticator method enabled.
The tenant Multi-Factor tab with the authenticator method enabled.

Add an Authenticator on the Account Pages#

  1. On the account page, click Manage two-factor .

    The account page with the edit button and the two-factor and passkey links.
    The account page with the edit button and the two-factor and passkey links.
  2. Click Add two-factor .

    The two-factor page with no methods configured.
    The two-factor page with no methods configured.
  3. Select Authenticator app.

    The Enable two-factor form for an authenticator app.
    The Enable two-factor form for an authenticator app.
  4. Scan the QR code with an authenticator app.

  5. Optionally, enter a name for the method, such as Google Authenticator.

  6. Enter the code from the authenticator app.

  7. Click Enable .

Recovery Codes#

When the method is the user's first MFA method, FusionAuth shows recovery codesA code used to regain access to an account when the user loses their multi-factor authentication factors.. Save the recovery codes in a safe place.

The recovery codes shown after two-factor authentication is enabled.
The recovery codes shown after two-factor authentication is enabled.

Log In with the Authenticator#

After the user enters a password at the next login, FusionAuth asks for a code from the authenticator app:

The two-factor challenge for an authenticator code, shown after logging in.
The two-factor challenge for an authenticator code, shown after logging in.