Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Firebase Authentication : Lookup a user by Email

I use fetchProvidersForEmail(email) and if the result return as empty array then, this email hasn't been use to sign up.

firebase.auth().fetchProvidersForEmail(email)
.then(providers => {
  if (providers.length === 0) {
    // this email hasn't signed up yet
  } else {
    // has signed up
  }
});

The new method of creating users with email password returns a value whether the given email address is already in use. See here

Tags:

Firebase

Firebase Authentication

Related

Find Last Occurrence of Regex Word Adding new Object to existing List in Realm Python requests. 403 Forbidden Empty value within data validation dropdown SourceTree keeps asking for Github password Are there any differences between a normal interface class and an abstract class that only has abstract methods? Get route query params How to use Bootstrap Tags Input plugin Overwrite specific partitions in spark dataframe write method Click through PNG image - only if clicked coordinate is transparent cannot read property 'client_secret' of undefined How to set the color and font style of placeholder text

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy