[Backport staging] Send Content-Type: application/json header for integration manager /register API (#9491)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>pull/28788/head^2
parent
9ffba57f93
commit
cb9017dddc
|
@ -190,6 +190,9 @@ export default class ScalarAuthClient {
|
||||||
const res = await fetch(scalarRestUrl, {
|
const res = await fetch(scalarRestUrl, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify(openidTokenObject),
|
body: JSON.stringify(openidTokenObject),
|
||||||
|
headers: {
|
||||||
|
"Content-Type": "application/json",
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
|
|
Loading…
Reference in New Issue