Device Authorization Endpoint

The device authorization endpoint can be used to request device and user codes. This endpoint is used to start the device flow authorization process.

Parameters #

client_id #

client identifier (required)

client_secret #

client secret either in the post body, or as a basic authentication header. Optional.

scope #

one or more registered scopes. If not specified, a token for all explicitly allowed scopes will be issued.

Sample Request #

POST    client_id=client1&
    scope=openid api1

(Form-encoding removed and line breaks added for readability)

Sample Response #

HTTP/1.1 200 OK
Content-Type: application/json{
   “scope”:”phone openid profile email xxxxx offline_access”

Powered by BetterDocs