OAuth

Device Authorization Request

RFC 8628 Section 3.1 - Device Authorization Request.

The client requests a device code from the authorization server. The user will then visit the verification_uri and enter the user_code to authorize the device.

Returns device_code, user_code, verification_uri, and polling interval.

post/oauth/device/code

Request

Headers

user-agentstring nullable

Request body application/x-www-form-urlencoded

client_idstring required
scopestring nullable
code_challengestring nullable
code_challenge_methodstring nullable
resourcestring nullable

Response

Successful Response

device_codestring required
user_codestring required
verification_uristring required
verification_uri_completestring required
expires_ininteger required
intervalinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.