Skip to content

Commit

Permalink
Merge pull request #3850 from owncloud/increase-access-token-lifetime
Browse files Browse the repository at this point in the history
Increase access token duration to 1 day
  • Loading branch information
micbar authored May 23, 2022
2 parents ac5738c + 49a666b commit 3cae4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/idp/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3cae4fc

Please sign in to comment.