missing forwareded headers
See original GitHub issuewhen using the oidc plugin a few forwarded headers got missing.
Without using the oidc plugin I get this:
X-Forwarded-Host: whoami.domain.tld
X-Forwarded-Port: 443
X-Forwarded-Proto: https
X-Forwarded-Server: a228d1c86e24
when using the plugin the only forwarded header I got is this: X-Forwarded-For: xx.xx.xxx.xxx
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
No more display of original headers when forwarding a ...
No more display of original headers when forwarding a message ; 1. Please open outlook for mac, then click Outlook > Preference (...
Read more >X-Forwarded-For - HTTP - MDN Web Docs
The X-Forwarded-For header is untrustworthy when no trusted reverse proxy (e.g., a load balancer) is between the client and server. If the ...
Read more >Reason for browser not showing X-Forwarded-For headers
I'm trying to understand as to why the browsers doesn't show me any X-Forwarded-For header every time a request a page.
Read more >X-Forwarded-Method is missing from request #6978 - GitHub
The header 'X-Forwarded-Method' is missing from request received by backend server. It's missing also when using ForwardAuth. I'm trying to get Traefik with ......
Read more >Missing X-Forwarded-For header in Spring Boot application
Missing X-Forwarded-For header in Spring Boot application ... good idea to check what is really being forwarded to the Pods in the cluster....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That’s what I was trying to suggest above at first. You’re telling traffic to forward the given headers from the auth server to the backend service. The auth server (
eas) is not sendingX-Forwarded-Fooheaders in it’s response to traefik, so traefik is trying to replace those being sent to the backing service as set byeas…which is empty/not there.The regex behavior is potentially a bit weird FYI. I would expect the regex to not replace all headers in the original request passing the regex but rather would expect it to be a sort of allow list treating those that are returned by the auth service to be set to whatever the auth service responds with.