Merge pull request #3850 from owncloud/increase-access-token-lifetime

Increase access token duration to 1 day
This commit is contained in:
Michael Barz authored and GitHub committed 2022-05-23 19:39:30 +02:00
commit 3cae4fc8f9
1 file changed
+1 -1
@@ -62,7 +62,7 @@ func DefaultConfig() *config.Config {
ValidationKeysPath: "", ValidationKeysPath: "",
CookieBackendURI: "", CookieBackendURI: "",
CookieNames: nil, CookieNames: nil,
AccessTokenDurationSeconds: 60 * 10, // 10 minutes AccessTokenDurationSeconds: 60 * 60 * 24, // 1 day
IDTokenDurationSeconds: 60 * 60, // 1 hour IDTokenDurationSeconds: 60 * 60, // 1 hour
RefreshTokenDurationSeconds: 60 * 60 * 24 * 365 * 3, // 1 year RefreshTokenDurationSeconds: 60 * 60 * 24 * 365 * 3, // 1 year
DyamicClientSecretDurationSeconds: 0, DyamicClientSecretDurationSeconds: 0,