Files
homelab/k8s/core/oauth2-proxy/middleware.yaml
T

15 lines
334 B
YAML
Raw Normal View History

2026-05-04 18:06:37 +01:00
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: keycloak-auth
spec:
forwardAuth:
address: http://oauth2-proxy.oauth2-proxy.svc:80/oauth2/auth
trustForwardHeader: true
authResponseHeaders:
- X-Auth-Request-User
- X-Auth-Request-Email
- X-Auth-Request-Groups
- Authorization