Firebase Authentication: Sign Up, Sign In, And Reset Password

Setup A Web Project in Firebase Console

  • Go to Firebase Console
  • Create a new project or select an existing project.
  • Add a new web app by clicking on the </> (web icon).
  • Follow the instructions provided, and done!

Setup Authentication

  • Go to Firebase Console > Authentication > Sign-in methods
  • Enable Email/Password

Creating the Sign-Up flow.

And, let the returning user sign-in

Few common errors while signing in:

  • auth/invalid-email: Thrown if the email address is not valid.
  • auth/user-disabled: Thrown if the user corresponding to the given email has been disabled.
  • auth/user-not-found: Thrown if there is no user corresponding to the given email.
  • auth/wrong-password: Thrown if the password is invalid for the given email, or the account corresponding to the email does not have a password set.

Have a great time, Happy Firebasing! 🔥

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sreelal TS

Sreelal TS

VUI & Flutter Developer by passion. 💙 #VoiceFirst #AoGDevs✨ Platinum Product Expert at @GooglePEProgram. #NighOwls🦉