oAuth2
The OAuth 2.0 Device Authorize Endpoint
Changed onThis endpoint is not documented here because you should never use your own implementation to perform OAuth2 flows. OAuth2 is a very popular protocol and a library for your programming language will exist.
To learn more about this flow please refer to the specification: https://tools.ietf.org/html/rfc8628
post/oauth2/device/auth
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/oauth2/device/auth
- Authnone declared
Response
deviceAuthorization
Example response
{
"device_code": "ory_dc_smldfksmdfkl.mslkmlkmlk",
"expires_in": 16830,
"interval": 5,
"user_code": "AAAAAA",
"verification_uri": "https://auth.ory.sh/tv",
"verification_uri_complete": "https://auth.ory.sh/tv?user_code=AAAAAA"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking