increase oidc token by 48h

This commit is contained in:
Ruben Fiszel
2024-01-17 09:33:39 +01:00
parent 7762873f26
commit c8e1c8111b
+1 -1
View File
@@ -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.