diff --git a/consul/discovery.go b/consul/discovery.go index 722f7f7..c277fbd 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -154,6 +154,7 @@ func (s *Service) getTags() []string { "traefik.http.services." + s.Name + ".loadbalancer.server.port=" + strconv.Itoa(s.port), "traefik.http.services." + s.Name + ".loadbalancer.passhostheader=false", "traefik.http.middlewares.auth.forwardauth.address=http://identity-svc/api/v1/traefik", + "traefik.http.middlewares.auth.forwardauth.authRequestHeaders=Cookie", "traefik.http.middlewares.auth.forwardauth.authResponseHeaders=Set-Cookie, Server", "traefik.http.middlewares.auth.forwardauth.trustForwardHeader=true", "traefik.http.middlewares.requestid.plugin.requestid.headerName=X-Request-ID",