Perhaps I am misunderstanding, but I expected the header to be propagated down to the application being proxied to.
Authorization policy contains:
inject header "X-User-Email" from "userinfo|email"
app.mysite.link would get this header:
{"X-User-Email": "thisisme@mysite.link"}
Additional context
Possible duplicate of: https://github.com/greenpau/caddy-security/issues/325
I don't know if the solution there will work in my case. It seems to be concerning redirects. I just want the user email available from a header, for the application being proxied to
Describe the issue Directive to add inject headers does not seem to make the headers appear for the application.
Configuration
Version Information
caddy list-modules --versions | grep -E "(auth|security)"
below:Expected behavior
Perhaps I am misunderstanding, but I expected the header to be propagated down to the application being proxied to.
Authorization policy contains:
app.mysite.link
would get this header:Additional context
Possible duplicate of: https://github.com/greenpau/caddy-security/issues/325 I don't know if the solution there will work in my case. It seems to be concerning redirects. I just want the user email available from a header, for the application being proxied to