Hi all,
I have been recently playing with traefik + authentik + emby. I just saw an older post about dynamic values in middlewear headers.
Middleware: header. Dynamic values for reference
Is it still not possible?
(I think its the closest thing to what I want?:
My scenario:
Authentik returns X-Emby-Uri and it's captured, then traefik redirects to the location specified:)
For example my middleware is something like the following, where X-Emby-Uri is a dynamic value that I want to append onto "https://myurl.com":
emby-auth:
forwardAuth:
address: "http://authentik-server:9000/outpost.goauthentik.io/auth/traefik"
authResponseHeaders:
- "X-Emby-Uri"
- "Set-Cookie"
trustForwardHeader: true
emby-redirect:
headers:
customResponseHeaders:
Location: "https://myurl.com{http.response.header.X-Emby-Uri}"
Cheers