enable cookie
This commit is contained in:
parent
470d4efa9a
commit
3e93a298da
|
@ -17,15 +17,15 @@
|
||||||
handler: allow
|
handler: allow
|
||||||
mutators:
|
mutators:
|
||||||
- handler: noop
|
- handler: noop
|
||||||
- handler: hydrator
|
# - handler: hydrator
|
||||||
config:
|
# config:
|
||||||
api:
|
# api:
|
||||||
url: http://dashboard:3000/api/hydrator
|
# url: http://dashboard:3000/api/hydrator
|
||||||
- handler: cookie
|
# - handler: cookie
|
||||||
config:
|
# config:
|
||||||
cookies:
|
# cookies:
|
||||||
user: "{{ print .Subject }}",
|
# user: "{{ print .Subject }}",
|
||||||
some-arbitrary-data: "{{ print .Extra.foo }}"
|
# some-arbitrary-data: "{{ print .Extra.foo }}"
|
||||||
|
|
||||||
- id: "dashboard:anonymous"
|
- id: "dashboard:anonymous"
|
||||||
upstream:
|
upstream:
|
||||||
|
|
|
@ -76,18 +76,18 @@ mutators:
|
||||||
noop:
|
noop:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
hydrator:
|
# hydrator:
|
||||||
enabled: true
|
# enabled: true
|
||||||
config:
|
# config:
|
||||||
api:
|
# api:
|
||||||
url: http://dashboard:3000/api/hydrator
|
# url: http://dashboard:3000/api/hydrator
|
||||||
|
|
||||||
cookie:
|
# cookie:
|
||||||
enabled: true
|
# enabled: true
|
||||||
config:
|
# config:
|
||||||
cookies:
|
# cookies:
|
||||||
user: "{{ print .Subject }}",
|
# user: "{{ print .Subject }}",
|
||||||
some-arbitrary-data: "{{ print .Extra.foo }}"
|
# some-arbitrary-data: "{{ print .Extra.foo }}"
|
||||||
|
|
||||||
id_token:
|
id_token:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Reference in New Issue