k3s-cluster/cluster/apps/authentik/traefik-middleware.yaml

21 lines
571 B
YAML
Raw Normal View History

2023-04-07 03:01:51 +00:00
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: authentik
namespace: traefik
spec:
2023-04-07 03:03:15 +00:00
forwardAuth:
2023-04-08 17:50:18 +00:00
address: http://authentik.authentik/outpost.goauthentik.io/auth/traefik
2023-04-07 03:01:51 +00:00
trustForwardHeader: true
2023-04-07 03:04:19 +00:00
authResponseHeaders:
- X-authentik-username
- X-authentik-groups
- X-authentik-email
- X-authentik-name
- X-authentik-uid
- X-authentik-jwt
- X-authentik-meta-jwks
- X-authentik-meta-outpost
- X-authentik-meta-provider
- X-authentik-meta-app
- X-authentik-meta-version