accounts/**
This commit is contained in:
parent
5a693ca2ff
commit
b453713474
|
@ -17,15 +17,6 @@
|
||||||
handler: allow
|
handler: allow
|
||||||
mutators:
|
mutators:
|
||||||
- handler: noop
|
- handler: noop
|
||||||
# - handler: hydrator
|
|
||||||
# config:
|
|
||||||
# api:
|
|
||||||
# url: http://dashboard:3000/api/hydrator
|
|
||||||
# - handler: cookie
|
|
||||||
# config:
|
|
||||||
# cookies:
|
|
||||||
# user: "{{ print .Subject }}"
|
|
||||||
# some-arbitrary-data: "{{ print .Extra.foo }}"
|
|
||||||
|
|
||||||
- id: "dashboard:anonymous"
|
- id: "dashboard:anonymous"
|
||||||
upstream:
|
upstream:
|
||||||
|
@ -71,10 +62,11 @@
|
||||||
preserve_host: true
|
preserve_host: true
|
||||||
url: "http://accounts:3000"
|
url: "http://accounts:3000"
|
||||||
match:
|
match:
|
||||||
url: "http://oathkeeper<{,:4455}>/<{accounts/**,user,user/**,login,logout}>"
|
url: "http://oathkeeper<{,:4455}>/<{user,user/**,login,logout}>"
|
||||||
methods:
|
methods:
|
||||||
- GET
|
- GET
|
||||||
- POST
|
- POST
|
||||||
|
- PUT
|
||||||
authenticators:
|
authenticators:
|
||||||
- handler: cookie_session
|
- handler: cookie_session
|
||||||
authorizer:
|
authorizer:
|
||||||
|
|
Reference in New Issue