v1
latestOpenAPI 3.0.3Apache 2.02026-07-175068227.4 KBoAuth2
The OAuth 2.0 Token Endpoint
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/
This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above.
post/oauth2/token
Response
oAuth2TokenExchange
Example response
{
"access_token": "access_token",
"refresh_token": "refresh_token",
"scope": "scope",
"id_token": "id_token",
"token_type": "token_type",
"expires_in": 0
}