Hey, when I make request from frontend, it cannot ...
# support-questions-legacy
d
Hey, when I make request from frontend, it cannot find the /auth/signup from my api. It is supposed to do that automatically through the middleware of nest js. Any help is appreciated.
r
hey @Dalai Llama
can you enable backend debug logs and show the output when you call the API?
d
It seems the recipe is not matching:
Copy code
com.supertokens {t: "2022-12-14T09:54:31.823Z", message: "middleware: Started", file: "/Users/ahmedtajikifrad/envelope/enretail-web-app/api-service/node_modules/supertokens-node/lib/build/supertokens.js:225:26" sdkVer: "12.1.3"} +0ms

  com.supertokens {t: "2022-12-14T09:54:31.824Z", message: "middleware: requestRID is: thirdpartyemailpassword", file: "/Users/ahmedtajikifrad/envelope/enretail-web-app/api-service/node_modules/supertokens-node/lib/build/supertokens.js:239:26" sdkVer: "12.1.3"} +0ms

  com.supertokens {t: "2022-12-14T09:54:31.825Z", message: "middleware: Checking recipe ID for match: emailpassword", file: "/Users/ahmedtajikifrad/envelope/enretail-web-app/api-service/node_modules/supertokens-node/lib/build/supertokens.js:248:34" sdkVer: "12.1.3"} +0ms

  com.supertokens {t: "2022-12-14T09:54:31.825Z", message: "middleware: Checking recipe ID for match: session", file: "/Users/ahmedtajikifrad/envelope/enretail-web-app/api-service/node_modules/supertokens-node/lib/build/supertokens.js:248:34" sdkVer: "12.1.3"} +0ms

  com.supertokens {t: "2022-12-14T09:54:31.825Z", message: "middleware: Checking recipe ID for match: dashboard", file: "/Users/ahmedtajikifrad/envelope/enretail-web-app/api-service/node_modules/supertokens-node/lib/build/supertokens.js:248:34" sdkVer: "12.1.3"} +0ms

  com.supertokens {t: "2022-12-14T09:54:31.826Z", message: "middleware: Not handling because no recipe matched", file: "/Users/ahmedtajikifrad/envelope/enretail-web-app/api-service/node_modules/supertokens-node/lib/build/supertokens.js:257:34" sdkVer: "12.1.3"} +0ms
r
right. So it seems that you have initialised different recipes on the frontend vs backend
you have init emialpassword on the backend
but thirdpartyeamilpassowrde on the frontend
so please make them both the same
d
can you suggest what recipe would be simplest for nest + vue
r
emailpassword
d
Big thanks