This SDK documentation is outdated. Please do not refer to it, and instead visit the User Guides section.

Skip to main content
Version: Next

emailVerificationFeature

SuperTokens.init({
recipeList: [
ThirdPartyEmailPassword.init({
emailVerificationFeature: {
disableDefaultImplementation: false
mode: "REQUIRED" | "OFF",
sendVerifyEmailScreen: {
style: {
container: {
backgroundColor: "#ffeeff"
},
(...)
}
},
verifyEmailLinkClickedScreen: {
style: {
container: {
backgroundColor: "#ffeeff"
},
(...)
}
}
},
})
]
});

Config values#

disableDefaultImplementation#

  • When true, the default route (/auth/verify-email) for reset password is disabled.
  • Default: "false"

mode#

  • Set this to enable / disable email verification
  • Default: "OFF"

sendVerifyEmailScreen#

  • style
    • An object to overwrite the verify email form styles (shown to the user post signup, and/or if their email isn't verified).
    • Please refer to the common customizations guide for more information about how the styles.

verifyEmailLinkClickedScreen#

  • style
    • An object to overwrite the styles of the screen that is shown after the use clicks the email verification link.
    • Please refer to the common customizations guide for more information about how the styles.
Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI