settings
This commit is contained in:
parent
76f1dbb16a
commit
bc76402300
|
@ -56,6 +56,10 @@
|
||||||
handler: allow
|
handler: allow
|
||||||
mutators:
|
mutators:
|
||||||
- handler: id_token
|
- handler: id_token
|
||||||
|
- handler: header
|
||||||
|
config:
|
||||||
|
headers:
|
||||||
|
X-User: "{{ print .Subject }}"
|
||||||
errors:
|
errors:
|
||||||
- handler: redirect
|
- handler: redirect
|
||||||
config:
|
config:
|
||||||
|
@ -66,7 +70,7 @@
|
||||||
preserve_host: true
|
preserve_host: true
|
||||||
url: "http://accounts:3000"
|
url: "http://accounts:3000"
|
||||||
match:
|
match:
|
||||||
url: "http://oathkeeper<{,:4455}>/<{user,user/**,square/**,login,logout}>"
|
url: "http://oathkeeper<{,:4455}>/<{user,user/**,login,logout}>"
|
||||||
methods:
|
methods:
|
||||||
- GET
|
- GET
|
||||||
- POST
|
- POST
|
||||||
|
@ -76,10 +80,6 @@
|
||||||
handler: allow
|
handler: allow
|
||||||
mutators:
|
mutators:
|
||||||
- handler: id_token
|
- handler: id_token
|
||||||
- handler: header
|
|
||||||
config:
|
|
||||||
headers:
|
|
||||||
X-User: "{{ print .Subject }}"
|
|
||||||
errors:
|
errors:
|
||||||
- handler: redirect
|
- handler: redirect
|
||||||
config:
|
config:
|
||||||
|
|
Reference in New Issue