Equalize the duration of the kratos and skynet sessions.

This commit is contained in:
Ivaylo Novakov 2021-02-15 11:26:50 +01:00
parent 865208a418
commit e9958ce73e
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
2 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ secrets:
session: session:
cookie: cookie:
domain: secure.siasky.net domain: secure.siasky.net
lifespan: "24h"
hashers: hashers:
argon2: argon2:

View File

@ -94,7 +94,7 @@ mutators:
config: config:
issuer_url: http://oathkeeper:4455/ issuer_url: http://oathkeeper:4455/
jwks_url: file:///etc/config/oathkeeper/id_token.jwks.json jwks_url: file:///etc/config/oathkeeper/id_token.jwks.json
ttl: 4h ttl: 24h
claims: | claims: |
{ {
"session": {{ .Extra | toJson }} "session": {{ .Extra | toJson }}