Hey there, I’m setting up email verification, and ...
# support-questions
q
Hey there, I’m setting up email verification, and am a bit stuck. Log in and Sign up, works. But email verification does not send an email. Is there anything I need to set up on the backend? The error logged in the console and network tab (screenshots attached) My front-end:
Copy code
SuperTokens.init({
  appInfo: {
    appName: 'app',
    apiDomain: webAndApiDomain,
    websiteDomain: webAndApiDomain,
  },
  recipeList: [
    EmailPassword.init({
      emailVerificationFeature: {
        mode: 'REQUIRED',
      },
      palette: {
        primary: colors.turquoise,
      },
    }),
    Session.init(),
  ],
});
Back-end:
Copy code
supertokens.init({
  framework: 'fastify',
  supertokens: {
    connectionURI: process.env.SUPER_TOKENS_CONNECTION_URI,
    apiKey: process.env.SUPER_TOKENS_API_KEY,
  },
  appInfo: {
    appName: 'app',
    apiDomain: webAndApiDomain,
    websiteDomain: webAndApiDomain,
  },
  recipeList: [
    EmailPassword.init(), // initializes signin / sign up features
    Session.init(), // initializes session features
  ],
});
2 Views