authentication

Returns the JWT access token for the provided user login data if the login was successful. This is usually only called from an OAuth2 client!

Changed on
post/authentication/login

Request

  • The document declares no server URL.
  • Auth
    none declared

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

access_tokenstring required

Value of the JWT

access_token_expiresstring date-time required

Expiration timestamp of the access token

refresh_tokenstring required

For obtaining a new access token

refresh_token_expiresstring date-time required

Expiration timestamp of the refresh token

token_typestring required

Type of the Token

Changes

    • breaking

      the request property format changed from no format to password

    • breaking

      the request property format changed from no format to password

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the request property format changed from password to no format

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      the request property format was generalized from password to no format