You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Envoy Gateway OIDC authentication leaving orphaned PKCE cookies #9632
Envoy Gateway OIDC authentication layer generating repeated authorization flows and leaving orphaned PKCE cookies behind.
Observations:
Header size exceeded.
Multiple auth cookies exist in header
When exceed header size, then application fail to complete oauth flow
Envoy OAuth2 filter successfully authenticates users and establishes sessions, but under certain circumstances initiates additional authorization flows and retains stale PKCE flow state cookies (OauthNonce / CodeVerifier). These cookies accumulate in the browser and are sent on every request. The accumulation combines with large Azure-issued access/id tokens and eventually exceeds request header limits. Envoy Gateway version = 1.8.2
Helm Chart = gateway-helm-1.8.2
Auth Flow Use -> Azure Entra ID
Hi, Is there any progress for this issue? Just want to know if this can be fixed in near future. We see major problems while using OIDC with grafana and the grafana api keeps getting "failed to fetch" errors for dashboards and only works after clearing application cookies from browser.
Most of the suggestion goes around increasing max_request_headers_kb for envoy-gateway but this will not solve the problem ofcourse. Please let me know if any workaround is possible meanwhile.
Activity
arkodg commentedon Aug 3, 2026
cc @zhaohuabing
nishant-corevas commentedon Aug 16, 2026
Hi, Is there any progress for this issue? Just want to know if this can be fixed in near future. We see major problems while using OIDC with grafana and the grafana api keeps getting "failed to fetch" errors for dashboards and only works after clearing application cookies from browser.
Most of the suggestion goes around increasing max_request_headers_kb for envoy-gateway but this will not solve the problem ofcourse. Please let me know if any workaround is possible meanwhile.
fix: keep orphaned OIDC PKCE cookies off every request
fix: keep orphaned OIDC PKCE cookies off every request (envoyproxy#9644)
fix: keep orphaned OIDC PKCE cookies off every request (envoyproxy#9644)
fix: keep orphaned OIDC PKCE cookies off every request (envoyproxy#9644)
[release/v1.9] cherry pick for v1.9.1 (#9872)
[release-1.8] Cherry pick for v1.8.4 (#9877)