mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-14 14:25:52 +01:00
OIDC/OAuth2: increase auth state validity to 2 minutes
Updates #2091 Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
0add546be3
commit
130fc8e0a2
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ import (
|
|||
const (
|
||||
oidcCookieKey = "oidc"
|
||||
adminRoleFieldValue = "admin"
|
||||
authStateValidity = 1 * 60 * 1000 // 1 minute
|
||||
authStateValidity = 2 * 60 * 1000 // 2 minutes
|
||||
tokenUpdateInterval = 3 * 60 * 1000 // 3 minutes
|
||||
tokenDeleteInterval = 2 * 3600 * 1000 // 2 hours
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue