Skip to content

Commit efc536e

Browse files
committed
fix(oauth/device-authorization-grant): wrong token request & response parameters
1 parent 5f7a806 commit efc536e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced/oauth2/device-authorization-grant.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ Content-Type: application/x-www-form-urlencoded
201201
grant_type=refresh_token&
202202
refresh_token={{refresh_token}}&
203203
client_id={{client_id}}&
204-
client_secret={{client_secret}}&
205204
```
206205

207206
| 参数 ||
@@ -220,7 +219,8 @@ Content-Type: application/json
220219
"token_type": "Bearer",
221220
"expires_in": 259200,
222221
"access_token": "******",
223-
"refresh_token": "******"
222+
"refresh_token": "******",
223+
"id_token": "******"
224224
}
225225
```
226226

0 commit comments

Comments
 (0)