Hi Team! Our client's email verification link has expired, and he cannot login either sign-up, is it possible to use sendVerificationEmail function to send him verification link for a second time? Because it seems that it needs some auth or something then I try to use this function
r
rp_st
02/20/2023, 9:07 AM
hey @albertask
rp_st
02/20/2023, 9:07 AM
yes it is possible. You can do that via our user management dashboard
a
albertask
02/20/2023, 9:11 AM
Is it possible to do it programmatically without dashboard, just using sendVerificationEmail function? Because maybe we will have many clients with expired links, so it would be very hard to do it via dashboard for each of them
r
rp_st
02/20/2023, 11:35 AM
It is possible to do it programatically as well
rp_st
02/20/2023, 11:36 AM
you can call the email verification recipe's
createEmailVerificationToken
function and then create a link using that and send then link using the sendEmail function from the email verification recipe as well.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).