Token

Login For Access Token

Authenticate a user and issue a JWT access token based on valid credentials.

Parameters:

  • form_data (OAuth2PasswordRequestForm): The form data containing the username and password.

Returns:

  • OAuth2Token: An object containing the access token and token type for the authenticated user.
post/v2/token

Request

Request body application/x-www-form-urlencoded

grant_typestring nullable
usernamestring required
passwordstring password required
scopestring
client_idstring nullable
client_secretstring password nullable

Response

Successful Response

accessTokenstring nullable
tokenTypestring
mfaPendingboolean
pendingTokenstring nullable

Changes

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