From e180ea543515c9fe5ca2307e0938c62bb36bdf3b Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 9 Feb 2021 12:49:27 +0100 Subject: [PATCH] enable cookie --- docker/kratos/oathkeeper/oathkeeper.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/kratos/oathkeeper/oathkeeper.yml b/docker/kratos/oathkeeper/oathkeeper.yml index 7f494fbc..e4fa6e63 100644 --- a/docker/kratos/oathkeeper/oathkeeper.yml +++ b/docker/kratos/oathkeeper/oathkeeper.yml @@ -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: