Supported methods
A user can enable more than one method and select one as the preferred method. The preferred method appears first during sign-in, but the user can select another enabled method.
How MFA sign-in works
- The user signs in with a password or single sign-on.
- Auth validates the first factor.
- If MFA is enabled for the user, Auth returns a short-lived MFA token instead of access tokens.
- The user selects one of the enabled methods.
- For email, Auth sends a challenge code. An authenticator app generates its code locally.
- The user submits a six-digit passcode or one recovery code.
- Auth verifies the second factor and returns the access tokens.
AUT-0019 with an MFA token that is valid only for enrollment. This happens at step 3 when the user has no MFA method, or at step 7 when the user has a method but not every required method. The user sets up and confirms one of the listed methods with that token, and then continues from step 4 with the same token. Read Enroll a required method.
The MFA token expires after the deployment’s configured session time. Enrollment during sign-in does not extend it. Auth also limits verification and resend attempts.
Setup and recovery codes
A user must set up and verify a method before enabling it. The setup differs by method:
- An authenticator app setup returns a QR-code URL and a secret.
- Email setup sends a verification code to the saved email address.
Self-service actions
Users can enroll and manage their own MFA methods in the Console, under Settings › Security, or through the Identity API. A user can also enroll a method that the organization requires during sign-in, through the Auth API. In the Console, a user can enable an authenticator app or email, remove a method, choose the default method, and generate recovery codes. The Console guide covers MFA at sign-in and removing a method. Self-service API operations require the authenticated subject to match the user ID in the request path.
Failure and recovery behavior
Next steps
Complete MFA in the Console
Verify a passcode or use a recovery code during sign-in.
Manage MFA via API
Use the Auth and Identity operations for enrollment and sign-in.
MFA deployment requirements
Configure MFA session protection, limits, and delivery providers.
Single sign-on
Use an external identity provider as the first sign-in factor.

