Hi, thank you for inviting me in. My application is using Vite, React and Nodejs, using Supertokens to handle login and sign up. So we send out invitation emails with accept button linking to an address like:
myapp.com/invitation/[the project id user got invited to]?email=userEmail@user.com
And when click this link open, user would be redirected to the address:
myapp.com/signin/?redirectToPath=[the project id user got invited to]
Somehow the email param was not showing, any idea why or how I fix it?
Thank you!
r
rp_st
02/15/2024, 10:16 AM
hey @cloisonnenail whats the value of redirectToPath?
Also, which frontend sdk, and which version of it are you using?
c
cloisonnenail
02/15/2024, 10:33 AM
value is
/dashboard/project/[project uuid]
frontend SDK is reactjs
version, our package json said "^0.35.9"
r
rp_st
02/15/2024, 10:40 AM
Right. This issue has been fixed in SDK version 0.36.1. So update to that. But see the changelog, since it’s a breaking change compared to the version that you are using.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).