https://supertokens.com/ logo
Title
g

gwenael

10/05/2022, 7:40 AM
Hi, I want to know if it's possible to force the verify status without to send the email verification email. We want to use your solution by creating directly a user from our backoffice and we don't want to send a verification email, and force it automatically as verified
r

rp

10/05/2022, 7:41 AM
It is posisble. Which SDK are you using?
g

gwenael

10/05/2022, 7:42 AM
We use the nodeJS SDK
bump
r

rp

10/05/2022, 7:53 AM
So after creating the user, you can use the
EmailVerification.createEmailVerificationToken
function to generate the token, and then call the
EmailVerification.verifyEmailUsingToken
function after with the token.
g

gwenael

10/05/2022, 7:55 AM
thank you. I will try that