ankitjey
04/21/2021, 5:15 PMrp
04/21/2021, 5:15 PMankitjey
04/21/2021, 6:34 PMrp
04/21/2021, 6:35 PMankitjey
04/21/2021, 6:36 PMankitjey
04/21/2021, 6:36 PMrp
04/21/2021, 6:37 PMrp
04/21/2021, 6:38 PMrecipeInstance
to:
js
app.post("/auth/signup", async (req, res) => {
let recipeInstance = ThirdPartyEmailPasswordRaw.getInstanceOrThrowError().emailPasswordRecipe;
// TODO: This will handle sign up requests from email password login. The body for this can be found here: https://github.com/supertokens/supertokens-node/blob/master/lib/ts/recipe/emailpassword/api/signup.ts
})
app.post("/auth/signinup", async (req, res) => {
let recipeInstance = ThirdPartyEmailPasswordRaw.getInstanceOrThrowError().thirdPartyRecipe;
// TODO: This will handle sign up and in requests from social login. The body for this can be found here: https://github.com/supertokens/supertokens-node/blob/master/lib/ts/recipe/thirdparty/api/signinup.ts
})
rp
04/21/2021, 6:39 PM.emailPasswordRecipe
and .thirdPartyRecipe
.rp
04/21/2021, 6:39 PMankitjey
04/21/2021, 6:40 PMrp
04/21/2021, 6:40 PMuser
04/21/2021, 6:43 PMlocalhost
for the websiteDomain
while testing?ankitjey
04/21/2021, 6:44 PMuser
04/21/2021, 6:44 PMrp
04/21/2021, 6:44 PM80
by defaultuser
04/21/2021, 6:44 PMankitjey
04/21/2021, 6:57 PMconst recipeInstance: Recipe | undefined
Object is possibly 'undefined'
Getting this for the signinup coderp
04/21/2021, 6:59 PMrp
04/21/2021, 7:00 PMuser
04/22/2021, 8:01 PMuser
04/22/2021, 8:02 PMuser
04/22/2021, 8:02 PMuser
04/22/2021, 8:03 PMdleiva04
04/22/2021, 8:04 PMuser
04/22/2021, 8:04 PMdleiva04
04/22/2021, 8:05 PMuser
04/22/2021, 8:05 PMuser
04/22/2021, 8:05 PMdleiva04
04/22/2021, 8:08 PM