diff --git a/authentik/providers/proxy/controllers/k8s/traefik.py b/authentik/providers/proxy/controllers/k8s/traefik.py index 2a75c01f7..681ee7b01 100644 --- a/authentik/providers/proxy/controllers/k8s/traefik.py +++ b/authentik/providers/proxy/controllers/k8s/traefik.py @@ -104,7 +104,7 @@ class TraefikMiddlewareReconciler(KubernetesObjectReconciler[TraefikMiddleware]) ), spec=TraefikMiddlewareSpec( forwardAuth=TraefikMiddlewareSpecForwardAuth( - address=f"http://{self.name}:4180/akprox/auth?traefik", + address=f"http://{self.name}.{self.namespace}:4180/akprox/auth?traefik", authResponseHeaders=[ "Set-Cookie", "X-Auth-Username",