feat(sso): Add logging for when code validation fails in oidc callback (#8693)

This commit is contained in:
Oscar Cornish
2026-03-19 18:23:35 +00:00
committed by GitHub
parent b1be9cf61b
commit ac9541a846

View File

@@ -1601,6 +1601,7 @@ async function handleOIDCCallback(
? "post"
: "basic",
}).catch((e) => {
ctx.context.logger.error("Error validating authorization code", e);
if (e instanceof BetterFetchError) {
throw ctx.redirect(
`${