https://supertokens.com/ logo
#support-questions
Title
# support-questions
s

slrobertson

09/02/2021, 7:03 PM
I'm trying to implement a redirection callback hook to redirect users to an onboarding route when they have successfully signed up and verified their email address. I'm using the example ReactJS code and getRedirectionURL(), but this callback function seems to always be called with context.isNewUser === false. I need to detect when context.action === "SUCCESS" and context.isNewUser === true, but this condition seems never to happen. Am I missing something?