diff --git a/src/client/auth.ts b/src/client/auth.ts index b5a3a6a43..278bc1b4c 100644 --- a/src/client/auth.ts +++ b/src/client/auth.ts @@ -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,