accounts/**

This commit is contained in:
Karol Wypchlo 2021-02-24 16:36:15 +01:00
parent 5a693ca2ff
commit b453713474
1 changed files with 2 additions and 10 deletions

View File

@ -17,15 +17,6 @@
handler: allow
mutators:
- 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"
upstream:
@ -71,10 +62,11 @@
preserve_host: true
url: "http://accounts:3000"
match:
url: "http://oathkeeper<{,:4455}>/<{accounts/**,user,user/**,login,logout}>"
url: "http://oathkeeper<{,:4455}>/<{user,user/**,login,logout}>"
methods:
- GET
- POST
- PUT
authenticators:
- handler: cookie_session
authorizer: