Hi, I'm getting an error when trying to follow the...
# support-questions-legacy
m
Hi, I'm getting an error when trying to follow the instructions for Third Party Email Password, but I keep getting this error :
Copy code
No instance of ThirdPartyEmailPassword found.
Even though I am initializing it...
Copy code
SuperTokens.init({
  appInfo: {
    // learn more about this on https://supertokens.com/docs/emailpassword/appinfo
    appName: "App",
    apiDomain: apiURL,
    websiteDomain: "http://localhost:5173",
    apiBasePath: "/auth",
    websiteBasePath: "/auth",
  },
  recipeList: [
    ThirdPartyEmailPassword.init(),
    Session.init()
  ]
});
ignore this thread... turns out I was running the wrong recipe on my backend
nvm, was wondering... now it's not tf
Inside my backend code...
Copy code
ThirdPartyEmailPassword.init({
                    providers: [{
                        config: {
                            thirdPartyId: "google",
                            clients: [{
                                clientId: "1060725074195-kmeum4crr01uirfl2op9kd5acmi9jutn.apps.googleusercontent.com",
                                clientSecret: "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"
                            }]
                        }
                    },],
                }),
My code still isn’t working 😢
@rp_st sorry for the mention, but do you have any suggestions?
r
What’s the error?
m
Copy code
No instance of ThirdPartyEmailPassword found.
r
You need to check your imports
And also that u have correctly initialised the recipe
m
I have checked my imports, but I shall share them
r
I don’t think ill be able to help here cause it’s an issue on your end
Double check what you have done
m
from what I can see, I'm using ThirdPartyEmailPassword from
supertokens-node
in my nestjs service file and ThirdPartyEmailPassword from
supertokens-auth-react
in my main.tsx
``` import Session from "supertokens-auth-react/recipe/session"; import ThirdPartyEmailPassword from "supertokens-auth-react/recipe/emailpassword"; SuperTokens.init({ appInfo: { // learn more about this on https://supertokens.com/docs/emailpassword/appinfo appName: "App", apiDomain: apiURL, websiteDomain: "http://localhost:5173", apiBasePath: "/auth", websiteBasePath: "/auth", }, recipeList: [ ThirdPartyEmailPassword.init(), Session.init() ] }); ```\
7 Views