enable cookie

This commit is contained in:
Karol Wypchlo 2021-02-09 13:18:44 +01:00
parent 470d4efa9a
commit 3e93a298da
2 changed files with 20 additions and 20 deletions

View File

@ -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:

View File

@ -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