https://supertokens.com/ logo
Title
t

tymek65

12/16/2022, 2:43 AM
Also one more thing about verifying, do I need to setup that deeplink stuff if the user needs to have an active session to verify his account? Like if he creates the account on the app, then goes to mail and clicks the link then obviously he will open the website, not the app
r

rp

12/16/2022, 2:45 AM
Hey @tymek65
You don’t need a session to verify the email. Just clicking on the link should do it
But you can change the url to make it a deep link if you want.
t

tymek65

12/16/2022, 2:46 AM
Yea but I need to handle both website and app, but I will try to check it again. So for example if the user first registers on pc then he can click the email link from phone and it should all work?
r

rp

12/16/2022, 2:47 AM
Yes
That will work
t

tymek65

12/16/2022, 2:48 AM
Ohhh yea it works
Thats sooo good
I don't know what I did when I was trying it before
r

rp

12/16/2022, 2:49 AM
Hmmm. Cool!
t

tymek65

12/16/2022, 2:50 AM
Anyway, thanks for helping, sorry for my stupid questions, I was sure it wasn't working and I misread this
The API for sending an email verification email requires an active session. If you are using our frontend SDKs, then the session tokens should automatically get attached to the request.
for actually using the verification link
r

rp

12/16/2022, 2:50 AM
Ahh right. Okay!