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.
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 through the Identity API. The Console guide covers the MFA step during sign-in. 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.

