Added oauth2 proxy

This commit is contained in:
Ultradesu
2026-05-04 18:06:37 +01:00
parent 2afe27bfd4
commit 72cbcc3952
7 changed files with 192 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: keycloak-auth
namespace: oauth2-proxy
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