token

Verify 2Fa

Flows B and C: exchange a temp_2fa_token + valid TOTP code for real access/refresh tokens.

  • scope=2fa_pending -> normal 2FA-protected login (user already has 2FA enabled).
  • scope=2fa_setup_required -> org-forced setup; on success also flips two_fa_enabled=True.
post/token/verify_2fa

Query parameters

redirect_urlstring

Cookies

temp_2fa_tokenstring

Request body

tokenstring required

Response

Successful Response

{"stackTrail":"paths:/token/verify_2fa:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.