Device Authorization Grant
The device authorization grant endpoints support the following actions for applications configured with the DEVICE_CODE grant type:
-
The device authorization endpoint
/{{envID}}/as/device_authorizationstarts an action to return an activation code to the end user. The endpoint response returns a device code, a user code, and a verification URI. The supported parameters for the endpoint request are theclient_idparameter and an optionalscopeparameter. -
The start flow endpoints
/{{envID}}/device/{{appIdentifier}}or/{{envID}}/devicein which theappIdentifiervariable represents one of either the application ID (clientIdorapplicationId) or a short secondary application identifier (devicePathIdconfigured per app) that is used only with the/deviceendpoint. -
The token endpoint
/{{envID}}/as/tokenreturns the tokens issued for the device.
|
For information about configuring and application connection that uses a |
Device authorization grant data model
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
String |
Required |
Immutable |
The application’s UUID. |
|
String |
Required |
Mutable |
The grant type of the token request. Options are |
|
String |
Optional |
Mutable |
Permissions that determine the resources that the application can access. This parameter is not required, but it is needed to specify accessible resources. Refer to Authorization for details when including |
|
String |
Required |
Read only |
The device verification code. This is a required property for device auth grant flows. |
|
String |
Required |
Read only |
The end-user verification code. This is a required property for device auth grant flows. |
|
String |
Required |
Read only |
The end-user verification URI on the authorization server. This is a required property for device auth grant flows. |
|
String |
Optional |
Read only |
The end-user verification URI on the authorization server that includes the |
|
String |
Required |
Read only |
The lifetime, in seconds, of the |
|
String |
Optional |
Read only |
The minimum amount of time, in seconds, that the client should wait between polling requests to the token endpoint. If no value is provided, the default is 5 seconds. This value is set on the application configuration. |