Complete MFA step-up or enrollment
Sign-in flow: consumes the mnemom_mfa_pending cookie, verifies the TOTP code, and issues a full mnemom_session. Enrollment flow: verifies a freshly-enrolled factor using the current session and upgrades it to aal2.
Authorizations
HttpOnly, Secure, SameSite=Lax cookie issued by /v1/auth/sign-in (or the SSO / email-callback flows). The value is an AES-256-GCM-encrypted blob of {access_token, refresh_token, issued_at, auth_method}. Browser clients include this automatically with credentials: "include".
Body
Response
Full session issued. Response sets mnemom_session cookie.
Supabase user shape. Fields beyond id and email are passthrough.