mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-01-24 05:26:55 +02:00
18 lines
325 B
YAML
18 lines
325 B
YAML
|
upstreams:
|
||
|
- id: httpbin
|
||
|
path: /
|
||
|
uri: http://httpbin
|
||
|
injectRequestHeaders:
|
||
|
- name: X-Forwarded-Groups
|
||
|
values:
|
||
|
- claim: groups
|
||
|
- name: X-Forwarded-User
|
||
|
values:
|
||
|
- claim: user
|
||
|
- name: X-Forwarded-Email
|
||
|
values:
|
||
|
- claim: email
|
||
|
- name: X-Forwarded-Preferred-Username
|
||
|
values:
|
||
|
- claim: preferred_username
|