From d8732d78530cade72a691540e6bf27c4f033761b Mon Sep 17 00:00:00 2001 From: Ulysse Carion Date: Wed, 15 May 2024 19:28:27 -0700 Subject: [PATCH] set assertion expire time 1 hour ago --- src/pages/SSOPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/SSOPage.tsx b/src/pages/SSOPage.tsx index 53390fc..f477800 100644 --- a/src/pages/SSOPage.tsx +++ b/src/pages/SSOPage.tsx @@ -93,7 +93,7 @@ export function SSOPage() { ["sign"], ); - const now = moment(new Date()); + const now = moment(new Date()).add(-1, "hour"); const expire = moment(new Date()).add(1, "hour"); inputRef.current!.value = await encodeAssertion(key, {