I’m implementing sign-in via email link and I have it sending the email, but I’m using an email that has not been registered yet. Is there a way to detect if the email is already registered before calling sendSignInLinkToEmail? No error was reported from the call. TIA!
2
Answers
Nabil's answer led me to finding the function fetchSignInMethods, which was just the thing I needed. Posted here for anyone else looking for this.
Maybe this function can help you
So that if the email doesn’t exist it’ll return an error otherwise you can run the
sendSignInLinkToEmail
function