You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`client_id` (optional): Your application's client ID - can be omitted if you have set an application as the default for device flows
36
35
-`audience` (optional): The audience to use for the request
37
36
@@ -69,12 +68,12 @@ Kinde's device authorization flow adheres to `RFC 8628`, also known as the OAuth
69
68
{
70
69
"access_token": "eyJ...",
71
70
"expires_in": 86400,
72
-
"scope": "",
71
+
"scope": "",
73
72
"token_type": "bearer"
74
73
}
75
74
```
76
-
The scope field may be empty because granted scopes are carried in the access token’s scope claim.
77
75
76
+
The scope field may be empty because granted scopes are carried in the access token’s scope claim.
78
77
79
78
**Example error response**:
80
79
@@ -109,12 +108,12 @@ The device must poll the token endpoint at regular intervals until the user comp
109
108
-**Verification URI**: Users should verify they're on the correct domain.
110
109
-**Token expiration**: Access tokens expire after 1 hour by default.
111
110
112
-
## Specifying an audience in a device authorization request
111
+
## Specifying an audience in a device authorization request
113
112
114
113
If an `audience` is specified in the request, the access token will include the audience in the `aud` claim. Kinde supports requesting multiple audiences.
115
114
116
115
The API must be authorized for the device authorization application.
117
116
118
-
## Scopes and permissions for a device authorization request
117
+
## Scopes and permissions for a device authorization request
119
118
120
119
If an audience is specified in the request, any scopes which are belong to that audience that are granted to the user by their role will also be granted to the device. The list of scopes will be displayed on the consent screen. If the user consents, the scopes will be included in the `scope` claim of the access token.
0 commit comments