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
is translated to exact string matches including case. Unfortunately request headers are folded to lower-case somewhere (maybe this is the actual bug), so "Cookie" will not get forwarded to the auth backend and is silently dropped.
With this change in extauth.go I was able to make logging in work:
We're seeing a similar problem where our application sometimes sends an Authorization header and sometimes sends an authorization header which is causing us a headache.
Description:
headersToExtAuth translation case-sensitivity mismatch
Repro steps:
A config like this:
is translated to exact string matches including case. Unfortunately request headers are folded to lower-case somewhere (maybe this is the actual bug), so "Cookie" will not get forwarded to the auth backend and is silently dropped.
With this change in extauth.go I was able to make logging in work:
Environment:
gateway v1.0.1
Notes:
Maybe this should be specifiable in https://gateway.envoyproxy.io/latest/api/extension_types/#extauth instead of a stringarray instead.
The same problem might apply to headersToBackend as well.
The text was updated successfully, but these errors were encountered: