enable cookie

This commit is contained in:
Karol Wypchlo 2021-02-09 12:45:11 +01:00
parent 1a4e3dd50f
commit 3646d1fcce
2 changed files with 12 additions and 0 deletions

View File

@ -21,6 +21,11 @@
config:
api:
url: http://dashboard:3000/api/hydrator
- handler: cookie
config:
cookies:
userxxxx: "{{ print .Subject }}",
some-arbitrary-data: "{{ print .Extra.foo }}"
- id: "dashboard:anonymous"
upstream:

View File

@ -82,6 +82,13 @@ mutators:
api:
url: http://dashboard:3000/api/hydrator
cookie:
enabled: true
config:
cookies:
userxxxx: "{{ print .Subject }}",
some-arbitrary-data: "{{ print .Extra.foo }}"
id_token:
enabled: true
config: