Files
supabase/apps/docs/content
bbe468ee0d docs: add recovery codes to the account MFA guide (#53159)
_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>
2026-11-12 11:23:29 +01:00
..