1. Remove GetClaimsFromUserInfoEndpoint=true — the extra pod→Keycloak HTTPS
call was throwing (SSL/network error from within the cluster), which hit the
exception handler and triggered a protected /Error redirect, starting the loop.
Roles are extracted from the access token payload instead (no HTTP call needed).
2. Set AccessDeniedPath=PathString.Empty on the cookie handler — the default
/Account/AccessDenied path doesn't exist in this app, causing the cookie
middleware to redirect there infinitely. Empty path returns 403 directly.
3. Replace UseExceptionHandler("/Error") with an inline handler — /Error is a
protected Blazor route; redirecting to it while unauthenticated re-triggered
the auth challenge, feeding the redirect loop. Inline handler returns 500
without any redirect.
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>