I am using firebase authentication for application registration. If someone who registered for the application wants to register again, I want to give a warning that this mail is being used, how can I handle it?
To check whether a given email address is already registered in Firebase, you can call the fetchSignInMethodsForEmail
methods .
The flow for this is typically that:
fetchSignInMethodsForEmail
to see if there's any provider for the email address.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.