From 49a666b74b855d6421cbd7bb36b4ece5268854e6 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Mon, 23 May 2022 11:34:16 +0200 Subject: [PATCH] Increase access token duration to 1 day --- extensions/idp/pkg/config/defaults/defaultconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/idp/pkg/config/defaults/defaultconfig.go b/extensions/idp/pkg/config/defaults/defaultconfig.go index dd6d0929be1..f67a8b4a4ba 100644 --- a/extensions/idp/pkg/config/defaults/defaultconfig.go +++ b/extensions/idp/pkg/config/defaults/defaultconfig.go @@ -62,7 +62,7 @@ func DefaultConfig() *config.Config { ValidationKeysPath: "", CookieBackendURI: "", CookieNames: nil, - AccessTokenDurationSeconds: 60 * 10, // 10 minutes + AccessTokenDurationSeconds: 60 * 60 * 24, // 1 day IDTokenDurationSeconds: 60 * 60, // 1 hour RefreshTokenDurationSeconds: 60 * 60 * 24 * 365 * 3, // 1 year DyamicClientSecretDurationSeconds: 0,