Skip to main content

Enable email verification

info
  • Email verification is turned off by default. It is strongly encouraged to enable it to ensure the authenticity of your users.
  • If you are already using SuperTokens in production and turn on email verification, your users will be redirected to the email verification screen next time they use your application.

Switch on Email Verification#


SuperTokens.init({    appInfo: {...},    recipeList: [        ThirdPartyEmailPassword.init({            emailVerificationFeature: {                mode: "REQUIRED"            }        }),        Session.init()    ]});

The default UI#

When a new user signs up with an unverified email, they will receive an email to verify their address and be redirected to the following screen:

After they have clicked on the email, they will see this screen: