Add Phone as a second factor

On this page
Starter plan required

This feature requires at least a Starter plan.

Available since 1.26.0

Phone two-factor is not enabled by default. Configure your tenant by navigating to Tenants -> Edit Tenant -> Multi-Factor .

Enable MFA method on Tenant (Admin Facing)#

The tenant Multi-Factor tab with the Phone settings highlighted.

You can enable the phone factor on the tenant level by following these steps:

  • Set SMS and/or Voice to enabled
  • For each enabled message type, select a messenger (previously created, see documentation)
  • For each enabled message type, select a template (FusionAuth ships with a default to be customized if needed)

Enable Phone Factor from Account Management (User Facing)#

The account page with the edit button and the two-factor and passkey links.
  1. Navigate back to your account page.
  2. Click Manage two-factor
  3. Click Add two-factor
  4. There will be an option for Phone.
The two-factor page with no methods configured.
The Enable two-factor form for a phone.

Next,

  1. Enter your phone number.
  2. If SMS and Voice are both enabled, select which type of message to send.
  3. Click on Send a one-time-code.
  4. (Optional) Enter a name for this method (for example, Work phone).
  5. Enter the provided code.
  6. Click Enable .

Recovery Codes (User Facing)#

Now you will be presented with recovery codes. Save these in a safe space.

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

trophy Success!

Upon the next login, you will be prompted for a code sent by phone in addition to your password. If the tenant has both SMS and Voice message types enabled you will be asked to choose which type to receive, otherwise the message will be sent automatically.

See It in Action (User Facing)#

With phone MFA enabled, if you log out and log back in you will be presented with the following screen in addition to the typical login screen.

The two-factor challenge shown after logging in.