https://supertokens.com/ logo
j

Jota

07/19/2022, 11:45 AM
Hey guys, trying the new passwordless login getting this
Copy code
service: new STMPService({
                 ^

TypeError: STMPService is not a constructor `
s

sharma

07/19/2022, 12:02 PM
Have you imported SMTPService like this?
import { STMPService } from "supertokens-node/recipe/passwordless/emaildelivery"
this is for node sdk
j

Jota

07/19/2022, 12:49 PM
Got it, one more question
is there any post hook after the person clicks on the email?
r

rp

07/19/2022, 1:19 PM
Are you talking about a backend hook that gets triggered when the user tries to login after clicking the link? Or something else?
7 Views