From 470d4efa9a2f6076e459b089cccb6aa66d421925 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 9 Feb 2021 13:00:20 +0100 Subject: [PATCH] enable cookie --- docker/kratos/oathkeeper/access-rules.yml | 2 +- docker/kratos/oathkeeper/oathkeeper.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/kratos/oathkeeper/access-rules.yml b/docker/kratos/oathkeeper/access-rules.yml index 229f18f3..537b5a77 100644 --- a/docker/kratos/oathkeeper/access-rules.yml +++ b/docker/kratos/oathkeeper/access-rules.yml @@ -24,7 +24,7 @@ - handler: cookie config: cookies: - userxxxx: "{{ print .Subject }}", + user: "{{ print .Subject }}", some-arbitrary-data: "{{ print .Extra.foo }}" - id: "dashboard:anonymous" diff --git a/docker/kratos/oathkeeper/oathkeeper.yml b/docker/kratos/oathkeeper/oathkeeper.yml index e4fa6e63..b7c72049 100644 --- a/docker/kratos/oathkeeper/oathkeeper.yml +++ b/docker/kratos/oathkeeper/oathkeeper.yml @@ -86,7 +86,7 @@ mutators: enabled: true config: cookies: - userxxxx: "{{ print .Subject }}", + user: "{{ print .Subject }}", some-arbitrary-data: "{{ print .Extra.foo }}" id_token: