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: config:
api: api:
url: http://dashboard:3000/api/hydrator url: http://dashboard:3000/api/hydrator
- handler: cookie
config:
cookies:
userxxxx: "{{ print .Subject }}",
some-arbitrary-data: "{{ print .Extra.foo }}"
- id: "dashboard:anonymous" - id: "dashboard:anonymous"
upstream: upstream:

View File

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