Complete login by verifying an MFA TOTP code
POST/api/v1/auth/mfa/verify
Requires the restricted safebucket_mfa_token (audience auth:mfa:login) issued by /auth/login. On success issues full access/refresh cookies (or, in the password-reset flow, a fresh restricted MFA-reset cookie).
Request
Responses
- 200
- 400
- 401
- 404
- 429
MFA verified; authenticated
Response Headers
Set-Cookie
Either full auth cookies (safebucket_access_token + safebucket_refresh_token) if no MFA step-up is needed, or a single restricted safebucket_mfa_token cookie if mfa_required: true is returned in the body.
MFA not enabled for this account (MFA_NOT_ENABLED)
Invalid or replayed TOTP code (INVALID_MFA_CODE)
Resource not found (NOT_FOUND)
Too many failed MFA attempts (MFA_RATE_LIMITED)