Increase access token duration to 1 day
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user