fix: add Accept header for OIDC callback request

This commit is contained in:
Kf637
2025-11-12 09:11:30 +01:00
parent 38a59f3579
commit 329af18a8d
+1
View File
@@ -587,6 +587,7 @@ router.get("/oidc/callback", async (req, res) => {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/x-www-form-urlencoded", "Content-Type": "application/x-www-form-urlencoded",
Accept: "application/json",
}, },
body: new URLSearchParams({ body: new URLSearchParams({
grant_type: "authorization_code", grant_type: "authorization_code",