Files
MealQuest/internal/auth
dev_agentandClaude Opus 5.5 bb0a9c3129
CI / ci (push) Successful in 1m27s
CI / ci (pull_request) Successful in 1m25s
Independent review Codex gpt-6-sol high: APPROVED (0 findings)
Refuse OIDC redirect downgrades; stop logging provider error text
The provider HTTP client now has a redirect policy: every redirect target
must pass secureurl.Check, and an https:// request never follows a
redirect to plain http://, so a 307/308 from the token endpoint cannot
resend the client secret in plaintext. Transport errors from the code
exchange no longer include the (possibly provider-supplied) URL.

The callback's provider-error path logs a fixed category instead of the
raw error and error_description query values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 09:49:44 -04:00
..