Commit 02e06a2
committed
fix(onedrive): send token-exchange parameters in the request body
The OneDrive OAuth code-for-token POST had no body at all, so Microsoft's
token endpoint always rejected it and sign-in never completed. Unlike
Google's endpoint (which accepts the params in the query string), Microsoft
requires them in the x-www-form-urlencoded body. Add client_id,
client_secret, code, redirect_uri and grant_type.
Refs Authenticator-Extension#1494, Authenticator-Extension#1369, Authenticator-Extension#1408, Authenticator-Extension#1202, Authenticator-Extension#14241 parent d815f3e commit 02e06a2
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
382 | 395 | | |
383 | 396 | | |
384 | 397 | | |
| |||
0 commit comments