try mutators

This commit is contained in:
Karol Wypchlo 2021-02-11 18:23:08 +01:00
parent f6eb365f9b
commit 0f1b48cfc3
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