Public
Complete login when user has two-factor authentication enabled.
Call this after POST /api/v1/tokens returns two_factor_required. Post the challenge token from that response together with the user's one-time code (the emailed code, or the current code from their authenticator app):
{ "challenge_token": "eyJ...", "code": "123456" }
On success the response is 200 with the final access token, in the same shape as POST /api/v1/tokens:
{ "access_token": "eyJ...", "refresh_token": "...", "token_type": "Bearer", "expires_in": 31536000 }
An incorrect code returns 400 (invalid_grant). A code has at most five attempts before the challenge locks. An expired challenge returns 410 (challenge_expired) — restart at POST /api/v1/tokens. The endpoint is rate limited to 10 requests per minute (429).
post/api/v1/tokens/two-factor
Request
- Base URL: https://go.outseta.com
- URL: https://go.outseta.com/api/v1/tokens/two-factor
- Auth: none declared
Request body
Response
The code was accepted; the access token (JWT) is returned.
Example response
{
"access_token": "string",
"authentication_callback_url": "string",
"expires_in": 0,
"id_token": "string",
"refresh_token": "string",
"token_type": "string"
}Changes
No recorded changes to this operation across all 1 revision of this API.