I have a payment page in which I would like to ope...
# support-questions-legacy
z
I have a payment page in which I would like to open a modal with the SignInUp form whenever a user is not logged in. It's important that after logging in, the user must NOT BE REDIRECTED anywhere out of the payment page. This is what I tried:
Copy code
ts
import { PasswordlessPreBuiltUI } from 'supertokens-auth-react/recipe/passwordless/prebuiltui'

...
<PasswordlessPreBuiltUI.SignInUp redirectOnSessionExists={false} />
Every things works nicely, but the Supertokens calls
validateGlobalClaimsAndHandleSuccessRedirection
and automatically takes the user out of the payment 🥹 Is there any way to skip redirection? I would be fine with dirty tricks and outdated UI, as long as there is no redirection.
3 Views