mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-20 11:30:34 -06:00
Merge pull request #3850 from owncloud/increase-access-token-lifetime
Increase access token duration to 1 day
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user