Skip to content

Challenge

POST
/api/auth/mfa/challenge

Complete login with a TOTP code or backup code, given the mfa_pending_token issued by POST /auth/login.

Request Body required

object
backup_code
Any of:
string
mfa_pending_token
required
string
otp_code
Any of:
string
>= 6 characters <= 6 characters /^\d{6}$/

Responses

200

Successful Response

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string