diff --git a/docker/kratos/config/kratos.yml.sample b/docker/kratos/config/kratos.yml.sample index df168cc0..98464dfa 100644 --- a/docker/kratos/config/kratos.yml.sample +++ b/docker/kratos/config/kratos.yml.sample @@ -65,6 +65,7 @@ secrets: session: cookie: domain: secure.siasky.net + lifespan: "24h" hashers: argon2: diff --git a/docker/kratos/oathkeeper/oathkeeper.yml b/docker/kratos/oathkeeper/oathkeeper.yml index db5f5643..6f9101a0 100644 --- a/docker/kratos/oathkeeper/oathkeeper.yml +++ b/docker/kratos/oathkeeper/oathkeeper.yml @@ -94,7 +94,7 @@ mutators: config: issuer_url: http://oathkeeper:4455/ jwks_url: file:///etc/config/oathkeeper/id_token.jwks.json - ttl: 4h + ttl: 24h claims: | { "session": {{ .Extra | toJson }}