Closed rea11st closed 1 year ago
and how it looks your middleware configuration ? ie on kubernetes
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: azuread
spec:
forwardAuth:
address: http://traefik-sso.<namespace>.svc:4181
authResponseHeaders:
- X-Forwarded-User
trustForwardHeader: true
and how it looks your middleware configuration ? ie on kubernetes
apiVersion: traefik.containo.us/v1alpha1 kind: Middleware metadata: name: azuread spec: forwardAuth: address: http://traefik-sso.<namespace>.svc:4181 authResponseHeaders: - X-Forwarded-User trustForwardHeader: true
it's not a k8, just a docker
hi, i have the same issue, did you solve it?
i solved my problem by just adding this lable
- "traefik.http.routers.auth.entrypoints=websecure"
to the forwardauth service.
Hi, Im using traefik-forward-auth to manage access for my services. When I try to open the service, I am redirected to https://auth.gprq.ru/_oauth?state=b0ca327b773893d93bda829b969fe217%3Agoogle%3Ahttps%3A%2F%2Fcode.gprq.ru%2F&code=4%2F0AWgavde6ZhqfsnXkNVxeMkqfJvFzAhSybycmfRXWROUeNQK6lZCc-FfrLMhTn0lidcpBDA&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+openid&authuser=0&prompt=consent
and 404 not found
in my auth service logs:
this is my main.yml
and this is my auth.yml
in traefik service logs:
level=error msg="middleware \"traefik-forward-auth@docker\" does not exist" entryPointName=websecure routerName=whoami@docker
Any ideas?