From f0da694709d9246439432659ef0e35ef611d53ef Mon Sep 17 00:00:00 2001 From: Ivaylo Novakov Date: Thu, 11 Feb 2021 13:30:49 +0100 Subject: [PATCH] Set the validity of JWT tokens issued by Oathkeeper to 4 hours. --- docker/kratos/oathkeeper/oathkeeper.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/kratos/oathkeeper/oathkeeper.yml b/docker/kratos/oathkeeper/oathkeeper.yml index b5a99b30..aa816c48 100644 --- a/docker/kratos/oathkeeper/oathkeeper.yml +++ b/docker/kratos/oathkeeper/oathkeeper.yml @@ -94,6 +94,7 @@ mutators: config: issuer_url: http://oathkeeper:4455/ jwks_url: file:///etc/config/oathkeeper/id_token.jwks.json + ttl: 4h claims: | { "session": {{ .Extra | toJson }}