From c8e1c8111bc486f9a7cd47c6869d2c301d78e0f9 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 17 Jan 2024 09:33:39 +0100 Subject: [PATCH] increase oidc token by 48h --- backend/windmill-api/src/oidc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-api/src/oidc.rs b/backend/windmill-api/src/oidc.rs index 95ef4da450..338f59d6e2 100644 --- a/backend/windmill-api/src/oidc.rs +++ b/backend/windmill-api/src/oidc.rs @@ -241,7 +241,7 @@ pub async fn gen_token( vec![Audience::new(audience)], // The ID token expiration is usually much shorter than that of the access or refresh // tokens issued to clients. - Utc::now() + Duration::seconds(300), + Utc::now() + Duration::hours(48), // The issue time is usually the current time. Utc::now(), // Set the standard claims defined by the OpenID Connect Core spec.