public

The OAuth 2.0 Token Endpoint

The client makes a request to the token endpoint by sending the following parameters using the "application/x-www-form-urlencoded" HTTP request entity-body.

Do not implement a client for this endpoint yourself. Use a library. There are many libraries available for any programming language. You can find a list of libraries here: https://oauth.net/code/

Do note that Hydra SDK does not implement this endpoint properly. Use one of the libraries listed above!

post/oauth2/token

Response

oauth2TokenResponse

access_tokenstring
expires_ininteger
id_tokenstring
refresh_tokenstring
scopestring
token_typestring

Example response

{
  "access_token": "access_token",
  "refresh_token": "refresh_token",
  "scope": "scope",
  "id_token": "id_token",
  "token_type": "token_type",
  "expires_in": 0
}

Changes