mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +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>
Supabase Docs
This directory contains the Next.js app for supabase.com/docs.
Guides live in content/ as MDX. Reference pages are generated from the specs in spec/: OpenAPI, SDKSpec, ConfigSpec, and CLISpec. Some sections come from other repositories.
Where to go
- To write a page, follow the style guide.
- To find where a page lives, add one, or update generated reference docs, use the contributing guide. Library maintainers start at Reference structure.
- To use an agent, use the AI agent skills for docs authoring. Those skills include framing a page and placing it in the information architecture.
- To run the site locally, use the developers' guide.
- To add or change a redirect, read
lib/redirects/README.mdfirst.