post

/oauth2/login/token

Authenticates the user by the username/email and password and returns a JWT. Exchanging the code to a JWT via the Generate JWT call is not needed.

Request Parameters

2 Query Parameters

Request Body

Schema
object

User details.

password
string

User password.

1 validation + required
username
string

Username or email address.

1 validation + required

Responses

OK

1 Example
Schema
object
access_token
string

User JWT.

required
expire_in
integer

JWT expiration period in seconds. Default value is 3600 seconds.

refresh_token
string

Refresh token for updating the access_token.

token_type
string

JWT type with bearer value.

required

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.