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

Request

Cookies

temp_2fa_tokenstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 8 revisions of this API.