From 1497089b92b1a9c919bed5ca6c6f6ae916c2d5e3 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 24 Oct 2022 15:30:49 +0100 Subject: [PATCH] Send Content-Type: application/json header for integration manager /register API (#9490) --- src/ScalarAuthClient.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ScalarAuthClient.ts b/src/ScalarAuthClient.ts index 5dacd079734..3ee1e7c15d9 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) {