token

Setup 2Fa Secret

Flow B: forced setup. Generate secret + QR using the temp_2fa_token (scope=2fa_setup_required) issued by login for a user whose org has require_2fa=True. No access_token exists yet. Pair with /verify_2fa to complete setup and receive real access/refresh tokens.

post/token/setup_2fa_secret

Cookies

temp_2fa_tokenstring

Response

Successful Response

secretstring required
qr_codestring required

Changes

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