Skip to content

Verify MFA challenge

POST
/_torii/auth/mfa/verify
curl --request POST \
--url 'https://your-app.toriiauth.eu/_torii/auth/mfa/verify?_is_native=false' \
--header 'Content-Type: application/json' \
--data '{ "challengeToken": "example", "code": "example" }'

Completes a sign-in that returned an MFA outcome by submitting a TOTP code or a single-use recovery code.

Origin
string
Host
string
_is_native
boolean
Media typeapplication/json
object
challengeToken
required
string
code
required
string
Examplegenerated
{
"challengeToken": "example",
"code": "example"
}

OK

Media typeapplication/json
object
Examplegenerated
{}