diff --git a/src/ScalarAuthClient.ts b/src/ScalarAuthClient.ts index 5dacd07973..3ee1e7c15d 100644 --- a/src/ScalarAuthClient.ts +++ b/src/ScalarAuthClient.ts @@ -190,6 +190,9 @@ export default class ScalarAuthClient { const res = await fetch(scalarRestUrl, { method: "POST", body: JSON.stringify(openidTokenObject), + headers: { + "Content-Type": "application/json", + }, }); if (!res.ok) {