I can't find the API request to ask the backend to send a verification email...
r
rp_st
05/01/2022, 12:27 PM
Hey @CuriousCI
rp_st
05/01/2022, 12:27 PM
What do you mean by you can’t find the request?
c
CuriousCI
05/01/2022, 12:42 PM
I want to build a button "verify email" in the profile page, but, in the "EmailVerification Recipe" section of the API, I can't find a function to "tell the backend to send the verification email", do I have to build it?
Copy code
POST /{apiBasePath}/user/email/verify/token # Verifies the email
POST /{apiBasePath}/user/email/verify # Verifies the email
GET /{apiBasePath}/user/email/verify # Checks if the email is verified
Yea. So the default recipe UI auto sends the email verification email when the email verification page is shown. It has a resend button as well on the page
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).