Verify Mfa
POST /auth/mfa-verifyRequest body — MfaVerifyRequest
Section titled “Request body — MfaVerifyRequest”| Field | Type | Notes | |
|---|---|---|---|
challenge_token | string | required | min length 16 max length 4096 |
code | string | required | min length 6 max length 32 |
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
200 | Successful Response | TokenPair |
422 | Validation Error | HTTPValidationError |
Example
Section titled “Example”The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.
curl -X POST https://your-deployment.example.com/auth/mfa-verify \ -H "Content-Type: application/json" \ -d '{ "challenge_token": "string", "code": "string" }'Response — TokenPair
Section titled “Response — TokenPair”| Field | Type | Notes | |
|---|---|---|---|
access_token | string | required | — |
refresh_token | string | required | — |
token_type | string | optional | Default "bearer". |
expires_in | integer | required | — |
principal | PrincipalView | required | — |