try mutators
This commit is contained in:
parent
f6eb365f9b
commit
0f1b48cfc3
|
@ -17,15 +17,15 @@
|
|||
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 }}"
|
||||
- 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:
|
||||
|
|
|
@ -76,18 +76,18 @@ mutators:
|
|||
noop:
|
||||
enabled: true
|
||||
|
||||
# hydrator:
|
||||
# enabled: true
|
||||
# config:
|
||||
# api:
|
||||
# url: http://dashboard:3000/api/hydrator
|
||||
hydrator:
|
||||
enabled: true
|
||||
config:
|
||||
api:
|
||||
url: http://dashboard:3000/api/hydrator
|
||||
|
||||
# cookie:
|
||||
# enabled: true
|
||||
# config:
|
||||
# cookies:
|
||||
# user: "{{ print .Subject }}",
|
||||
# some-arbitrary-data: "{{ print .Extra.foo }}"
|
||||
cookie:
|
||||
enabled: true
|
||||
config:
|
||||
cookies:
|
||||
user: "{{ print .Subject }}"
|
||||
some-arbitrary-data: "{{ print .Extra.foo }}"
|
||||
|
||||
id_token:
|
||||
enabled: true
|
||||
|
|
Reference in New Issue