From 130fc8e0a24f5ea16e9ad8c0672b2db4f80f632f Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Sat, 20 Dec 2025 16:58:46 +0100 Subject: [PATCH] OIDC/OAuth2: increase auth state validity to 2 minutes Updates #2091 Signed-off-by: Nicola Murino --- internal/httpd/oidc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/httpd/oidc.go b/internal/httpd/oidc.go index 881a9aa1..7c43fac5 100644 --- a/internal/httpd/oidc.go +++ b/internal/httpd/oidc.go @@ -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 )