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

Note

The URL for the device authorization endpoint is available via the discovery endpoint.

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.

Example

POST /connect/deviceauthorization

    client_id=client1&
    client_secret=secret&
    scope=openid api1

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