Skip to content

docs(openapi): clarify AAL2 requirement for password/email updates when MFA is enabled#2314

Open
toklas495 wants to merge 1 commit intosupabase:masterfrom
toklas495:docs/openapi-all2-user-update
Open

docs(openapi): clarify AAL2 requirement for password/email updates when MFA is enabled#2314
toklas495 wants to merge 1 commit intosupabase:masterfrom
toklas495:docs/openapi-all2-user-update

Conversation

@toklas495
Copy link
Copy Markdown

This PR documents existing Supabase Auth behavior where updating
email or password requires an AAL2 session when MFA (TOTP or SMS)
is enabled.

Sessions obtained from password recovery links are AAL1 by default
and will be rejected by PUT /user when attempting to update
email or password.

This change does NOT modify runtime behavior.
It clarifies the contract in the OpenAPI spec to avoid confusion.

Related issue:

@toklas495 toklas495 requested a review from a team as a code owner January 6, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant