fix: add Accept header for OIDC callback request #436

Merged
Kf637 merged 2 commits from main into dev-1.8.1 2025-11-12 22:26:56 +00:00
Showing only changes of commit 329af18a8d - Show all commits
+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",