arrproxy: allow unverified email in oauth2-proxy (Authentik sets email_verified=false) #381

Merged
benvin merged 1 commits from benvin/arrproxy-oauth-emailverify into main 2026-08-17 22:25:09 +10:00

1 Commits

Author SHA1 Message Date
unkin-agent 43b62696ee arrproxy: allow unverified email in oauth2-proxy
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
Authentik hardcodes email_verified=false in the id_token, so oauth2-proxy
rejects the session ("email ... isn't verified") and returns 500 on
/oauth2/callback. Set OAUTH2_PROXY_INSECURE_OIDC_ALLOW_UNVERIFIED_EMAIL=true
so the callback completes; authorization stays enforced downstream via
ak_groups. The oauth2 Deployment already carries configmap.reloader.stakater.com/auto=true
and Reloader is running, so the ConfigMap change rolls the pods automatically.
2026-08-17 22:16:37 +10:00