mirror of
https://github.com/supabase/supabase.git
synced 2026-12-05 07:59:03 +00:00
_Do not merge until the recovery codes feature flag is removed (or opened to all users)._ ## What Adds a short **Recovery codes** section to the [account MFA guide](https://supabase.com/docs/guides/platform/multi-factor-authentication) and removes the note that Supabase doesn't provide recovery codes. The new section covers: - What recovery codes are: 10 single-use codes, shown once when you enable MFA. - How to sign in with a recovery code from the two-factor authentication screen, including the temporary lock after 5 incorrect codes. - How to generate codes for an existing MFA setup, and how to regenerate them. - That removing your only authenticator app disables MFA, and disabling MFA deletes your recovery codes. Fixes PROD-719 ## Self-review | Check | Result | | --- | --- | | Prettier | Pass | | `pnpm build:guides-markdown` | Pass, page renders as expected in `public/markdown/guides/platform/multi-factor-authentication.md` | | Style guide critic pass | Resolved, except `02-elements.md#pair-dashboard-steps-with-a-terminal-option`: account recovery codes have no API or CLI path | | `test-the-docs` | Not applicable, no runnable snippets | ## Needs review - Draft until recovery codes are available to all accounts. - UI labels (**Unable to sign in?**, **Authenticate using a recovery code**, **Generate recovery codes**, **Regenerate**) match the current Studio source. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>