switch forwardAuth response headers matching to RegEx
This commit is contained in:
parent
fca5cfed8a
commit
b8b33c280f
|
@ -2,6 +2,7 @@ http:
|
||||||
serversTransports:
|
serversTransports:
|
||||||
insecuretransport:
|
insecuretransport:
|
||||||
insecureSkipVerify: true
|
insecureSkipVerify: true
|
||||||
|
|
||||||
middlewares:
|
middlewares:
|
||||||
secureHeaders:
|
secureHeaders:
|
||||||
headers:
|
headers:
|
||||||
|
|
|
@ -4,15 +4,16 @@ http:
|
||||||
forwardAuth:
|
forwardAuth:
|
||||||
address: https://auth.szk.li/outpost.goauthentik.io/auth/traefik
|
address: https://auth.szk.li/outpost.goauthentik.io/auth/traefik
|
||||||
trustForwardHeader: true
|
trustForwardHeader: true
|
||||||
authResponseHeaders:
|
authResponseHeadersRegex: "^[Xx]-[Aa]uthentik"
|
||||||
- X-authentik-username
|
# authResponseHeaders:
|
||||||
- X-authentik-groups
|
# - X-authentik-username
|
||||||
- X-authentik-email
|
# - X-authentik-groups
|
||||||
- X-authentik-name
|
# - X-authentik-email
|
||||||
- X-authentik-uid
|
# - X-authentik-name
|
||||||
- X-authentik-jwt
|
# - X-authentik-uid
|
||||||
- X-authentik-meta-jwks
|
# - X-authentik-jwt
|
||||||
- X-authentik-meta-outpost
|
# - X-authentik-meta-jwks
|
||||||
- X-authentik-meta-provider
|
# - X-authentik-meta-outpost
|
||||||
- X-authentik-meta-app
|
# - X-authentik-meta-provider
|
||||||
- X-authentik-meta-version
|
# - X-authentik-meta-app
|
||||||
|
# - X-authentik-meta-version
|
Loading…
Reference in New Issue