Skip to main content

Confirm and enable TOTP two-factor authentication

POST 

/api/v1/auth/2fa/confirm

Checks a code from the authenticator against the pending secret and enables two-factor authentication. Returns the recovery codes, once. setupToken must be the one /api/v1/auth/2fa/setup returned with that secret (it expires after 10 minutes). A notice email is sent to the account's address.

Request​

Responses​

Two-factor authentication enabled