auth icon indicating copy to clipboard operation
auth copied to clipboard

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

Open toklas495 opened this issue 1 week ago • 0 comments

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:

  • #2091 resetPasswordForEmail + MFA: Cannot update password due to AAL2 requirement

toklas495 avatar Jan 06 '26 04:01 toklas495