Hi, The email password API contains the `emailExistsGET` function. How do I call this from a custom ...
m
Hi, The email password API contains the
emailExistsGET
function. How do I call this from a custom endpoint on the backend?
r
hey @michael_pxr you should instead use one fot he functions mentioned here: https://supertokens.com/docs/emailpassword/common-customizations/get-user-info to get the user based on the email, and then if that returns
undefined
, it means that the user does not exist.