diff --git a/rest/src/lib.rs b/rest/src/lib.rs index cd01b09..15bf403 100644 --- a/rest/src/lib.rs +++ b/rest/src/lib.rs @@ -310,7 +310,7 @@ pub async fn start_server(rest_state: RestState) { let session_layer = SessionManagerLayer::new(session_store) .with_secure(true) .with_same_site(SameSite::Strict) - .with_expiry(Expiry::OnInactivity(Duration::minutes(2))); + .with_expiry(Expiry::OnInactivity(Duration::minutes(50))); let oidc_auth_service = ServiceBuilder::new() .layer(HandleErrorLayer::new(|e: MiddlewareError| async {