## Problem
The [account MFA
guide](https://supabase.com/docs/guides/platform/multi-factor-authentication#enable-mfa)
says Supabase can't restore access if you lose all your MFA credentials.
That conflicts with the rewritten troubleshooting guide in
supabase/troubleshooting#368, which walks users through recovery codes,
a second authenticator app and contacting support.
## Solution
Replace the caution under **Enable MFA** with a short paragraph. It
recommends a second authenticator app and saved recovery codes, then
links to the troubleshooting guide for users who can't complete the MFA
step.
## Review instructions
1. Open `/docs/guides/platform/multi-factor-authentication#enable-mfa`
in the docs preview.
2. Check that the "we will not be able to restore access" caution is
gone and the new paragraph links to the troubleshooting guide
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
## Problem
The MFA guide contains a stray quote, code fence, and editorial note.
Its replacement instructions also tell everyone to add an authenticator
first, but Studio hides **Add MFA method** when two authenticators are
registered.
## Solution
Remove the stray text and explain the replacement order for accounts
with one or two authenticators. Keep a working factor registered to
avoid disabling MFA and deleting recovery codes.
Validated with Prettier, Markdown generation, and inspection of the
generated guide.
## Review instructions
1. Open
`/docs/guides/platform/multi-factor-authentication#sign-in-with-a-recovery-code`
in the docs preview.
2. Check that the replacement instructions cover one and two registered
authenticators, with no stray quote, code fence, or editorial note.
3. Confirm the regeneration and disable-MFA sections remain separate
sections.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
_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>
## Problem
relevant cross-links missing to KB articles.
## Solution
Claude pass with an attempt to inline these where possible. Some were a
new sentence, but spot check felt like they were mostly appropriate.
## Preview links
N/A b/c too many atomic changes to help that much.
---------
Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
## Summary
Adds internal cross-links from existing docs pages to related guides and
troubleshooting pages.
As these are relatively atomic changes (1-2 links added per average
file), intentionally not including before/after links for review here.
---------
Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
## What kind of change does this PR introduce?
Docs update. Aligns documentation and style guides with the **Sign in /
Sign out / Sign up** platform standard.
Closes DOCS-1328. Related to
[#49874](https://github.com/supabase/supabase/pull/49874).
## What is the current behavior?
Docs style guides prefer _login_ / _log in_. Guide prose uses mixed
login and sign in wording.
## What is the new behavior?
- [WORD_LIST.md](apps/docs/WORD_LIST.md) and
[copywriting.mdx](apps/design-system/content/docs/copywriting.mdx)
document the sign in standard
- Design-system auth examples updated
- Guide prose and API reference spec descriptions updated
### Terminology
**Standard:** Use _sign in_, _sign out_, and _sign up_ as verbs. Use
_sign-in_, _sign-out_, and _sign-up_ as nouns and adjectives. Match
Studio UI labels (**Sign in**, **Sign out**, **Sign up**).
**Preserved intentionally:**
| Category | Keep as-is | Example |
| -------- | ---------- | ------- |
| Feature name | social login | `/social-login`, `features.mdx` heading,
OAuth provider section |
| URL slugs | `login` in paths | `/phone-login`, `/login-flows`,
`choosing-login-flow` |
| CLI | `supabase login` / `supabase logout` | Reference ids
`supabase-login` / `supabase-logout`; executable commands unchanged |
| SDK methods | `logout()` | Kotlin/Swift method names in API reference
titles and examples |
| Third-party UI | Provider product labels | Facebook Login, Kakao
Login, portal **Login** buttons |
| Postgres | Database terminology | login privileges, login credentials,
login via role |
| Audit/logging | Log prose | "Generates the following **log** in the
Postgres Logs" |
| Code and routes | Paths and filenames | `app/login/`, `Login.tsx`,
`demos/android-login` |
| External URLs | Third-party login pages | `dash.cloudflare.com/login`,
`console.neon.tech/login`, `vercel.com/login` |
| API identifiers | Event and field names | Audit actions
`login`/`logout`, `should_logout_user` |
## To test
- Run `pnpm lint:mdx` in `apps/docs`
- Spot-check `features.mdx`, `social-login.mdx`, and a provider guide
(e.g. Facebook, Kakao)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Standardized authentication terminology across guides, reference
material, CLI documentation, and copywriting guidance using “sign in,”
“sign out,” and “sign up.”
* Updated authentication instructions, headings, link text, examples,
and SSO guidance for clearer, more consistent wording.
* Corrected related grammar, spelling, hyphenation, and documentation
links while preserving established product names and implementation
commands.
* **Style**
* Refined code examples with consistent import ordering and spacing.
* **Examples**
* Updated authentication button and menu labels to “Sign in” and “Sign
out.”
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## What kind of change does this PR introduce?
Documentation / text fix (grammar)
## What is the current behavior?
Several places in the codebase use "a" before acronyms that start with
vowel sounds, which is grammatically incorrect:
- "enter a MFA code" (MFA is pronounced "em-eff-ay", starting with a
vowel sound)
- "a SMS with a OTP" (SMS = "ess-em-ess", OTP = "oh-tee-pee")
## What is the new behavior?
Corrected to use "an" before acronyms with vowel sounds:
- "enter an MFA code"
- "an SMS with an OTP"
## Files changed
- `apps/studio/data/profile/mfa-challenge-and-verify-mutation.ts` -
comment fix
- `apps/docs/content/guides/platform/multi-factor-authentication.mdx` -
user-facing docs
- `apps/docs/docs/ref/javascript/v1/upgrade-guide.mdx` - code comment in
example
- `apps/docs/docs/ref/dart/v0/upgrade-guide.mdx` - code comment in
example
## Additional context
The rule: use "an" before acronyms pronounced with an initial vowel
sound, regardless of the first letter. "MFA" starts with "em" (vowel
sound), "SMS" starts with "ess" (vowel sound), "OTP" starts with "oh"
(vowel sound).
* docs: update link for Row Level Security documentation in JWT guide
* docs: update Figma sign-in link in Flutter guide
* docs: force link to Supabase Login with Apple to work (existing relative URL generates incorrect link in live site).
* docs: update link for Postgres UUID tutorial
* docs: update link for deprecated Android One Tap. Fix broken link to dart signInWithOAuth (the hydrated link on the live site is broken)
* docs: update links for MFA enforcement and backup documentation
* Update apps/docs/content/guides/auth/quickstarts/with-expo-react-native-social-auth.mdx
* Update apps/docs/content/guides/auth/social-login/auth-google.mdx
---------
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>