scherbatsky.jr
04/27/2022, 11:53 AM{
"status": "OK"
}
No effect on changing the console locationrp_st
04/27/2022, 11:55 AMrp_st
04/27/2022, 11:56 AMscherbatsky.jr
04/27/2022, 11:56 AMscherbatsky.jr
04/27/2022, 11:56 AMrp_st
04/27/2022, 11:57 AMrp_st
04/27/2022, 1:47 PMscherbatsky.jr
04/28/2022, 7:29 AMPOST: http://<api_url>/auth/user/password/reset/token
Headers: rid => emailpassword
Body:
{
"formFields": [
{
"id": "email",
"value": "user@test.com"
}
]
}
Code in supertokens.service:
recipeList: [
EmailPassword.init({
resetPasswordUsingTokenFeature: {
createAndSendCustomEmail: async (user, passwordResetURLWithToken) => {
console.log('I am here')
userService.sendEmail();
}
}
}),
Session.init()
]
The response I get is { status: "OK" }. But neither the console is logged nor the user service is called.rp_st
04/28/2022, 7:32 AMrp_st
04/28/2022, 7:33 AMrp_st
04/28/2022, 7:33 AMscherbatsky.jr
04/28/2022, 7:35 AMrp_st
04/28/2022, 7:37 AMscherbatsky.jr
04/28/2022, 7:50 AM