InstantSetupPage: use replace: true for redirect

This commit is contained in:
Ulysse Carion 2024-05-17 12:54:35 -07:00
parent 90ca3525ab
commit 1d9535e3ed

View File

@ -30,10 +30,15 @@ export function InstantSetupPage() {
}, },
}); });
navigate({ navigate(
{
pathname: `/apps/${appId}/sso`, pathname: `/apps/${appId}/sso`,
search: createSearchParams({ email, firstName, lastName }).toString(), search: createSearchParams({ email, firstName, lastName }).toString(),
}); },
{
replace: true,
},
);
}, [appId, spAcsUrl, spEntityId]); }, [appId, spAcsUrl, spEntityId]);
return <></>; return <></>;