token
Needs 2Fa
Tells the frontend whether to show a 2FA screen and which one.
scope=2fa_pending -> user has 2FA enabled; show TOTP verify screen. scope=2fa_setup_required -> user's org requires 2FA but user hasn't set it up; show QR + verify. scope=None -> no valid temp token; route to normal login.
post/token/needs_2fa
Cookies
temp_2fa_tokenstring
Response
Successful Response
{"stackTrail":"paths:/token/needs_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.