With The Bridge, MFA is one setting: switch it on in the Control Center under Auth, Login, or run one CLI command. Users enroll a phone for texted codes or an authenticator app (TOTP), and confirm a code. Every later sign-in asks for a fresh code, whichever way the user signs in, on the same user model as billing and flags.
Switch it on in the Control Center under Auth, Login, with bridge app update --mfa-enabled true, or through the MCP tool update_auth_methods. With the drop-in LoginForm, none of the three needs code in your app.
MFA asks for a code when it is on in two places: for the app in the Control Center, and for each workspace in the workspace's details. There it follows every sign-in method, from password and magic link to passkeys, Google, GitHub and enterprise SSO, on the hosted login page and in the in-app login box.
SMS and authenticator app codes are both offered. The first time MFA is required, the user sets up a second factor.
- Authenticator app (TOTP): the user adds the account to an authenticator app and confirms a code from it. After that, each sign-in asks for the current code from the app.
- SMS: the user enters a phone number, verifies the 6-digit code The Bridge texts to it, and saves a one-time recovery code. After that, each sign-in asks for a new texted code, or the recovery code if the phone is gone.
Each texted code allows 5 wrong tries and expires after 10 minutes, and each resend replaces the previous code. The login box waits 60 seconds before it offers a resend; the server doesn't enforce that wait, and there is no account lockout.
The recovery code doesn't finish the sign-in on its own. It removes the old phone and code, and the user sets up a phone again and gets a new recovery code before they are in.
The drop-in LoginForm walks through both flows inline after the password step. If you build your own screens, ready-made setup and challenge components (MfaSetup, MfaChallenge) cover the same steps in SvelteKit, Next.js, React and Angular. The full reference is in the MFA docs.