Add MAS OIDC auth to SillyTavern via oauth2-proxy
This commit is contained in:
11
manifests/sillytavern/middleware.yaml
Normal file
11
manifests/sillytavern/middleware.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: oauth2-proxy
|
||||
namespace: sillytavern
|
||||
spec:
|
||||
forwardAuth:
|
||||
address: http://oauth2-proxy.sillytavern.svc.cluster.local:4180/oauth2/auth
|
||||
authResponseHeaders:
|
||||
- X-Auth-Request-User
|
||||
- X-Auth-Request-Email
|
||||
Reference in New Issue
Block a user