https://supertokens.com/ logo
#support-questions
Title
# support-questions
o

othiagocruz

03/30/2021, 3:06 PM
Copy code
SuperTokensNode.init({
    supertokens: {
      connectionURI: process.env.SUPERTOKENS_DOMAIN,
      apiKey: process.env.SUPERTOKENS_API_KEY,
    },
    appInfo: {
      appName: "storefront",
      apiDomain: websiteDomain,
      websiteDomain,
      apiBasePath,
    },
    recipeList: [
      ThirdPartyEmailPasswordNode.init({
        signUpFeature: {
          handlePostSignUp: async (user, context) => {
            const { id, email } = user
            await fetchApi(`${websiteDomain}/api/users/create`, { id, email })
          },
        },
        providers: [],
      }),
      SessionNode.init(),
    ],
  })