oAuth2
The OAuth 2.0 Token Endpoint
Changed onUse 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
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/oauth2/token
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://hydra.demo.ory.sh/oauth2/authToken URL: https://hydra.demo.ory.sh/oauth2/token
Request body application/x-www-form-urlencoded
Response
oAuth2TokenExchange
Changes
- info
api operation id
performOAuth2TokenFlowremoved and replaced withoauth2TokenExchange - info
api tag
oAuth2added - info
api tag
v0alpha2removed
- info
- info
api operation id
oauth2Tokenremoved and replaced withperformOAuth2TokenFlow - info
api tag
v0alpha2added - info
api tag
publicremoved - info
removed the non-success response with the status
- info
removed the non-success response with the status
- info