fix: Explicitly declare accpet type to json when exchanging oauth token (#801)
This commit is contained in:
parent
83168250f5
commit
62c608d8ce
1 changed files with 1 additions and 0 deletions
|
|
@ -774,6 +774,7 @@ export async function exchangeAuthorization(
|
|||
// Exchange code for tokens
|
||||
const headers = new Headers({
|
||||
"Content-Type": "application/x-www-form-urlencoded",
|
||||
"Accept": "application/json",
|
||||
});
|
||||
const params = new URLSearchParams({
|
||||
grant_type: grantType,
|
||||
|
|
|
|||
Loading…
Reference in a new issue