0Pricing
Android Academy · Lesson

Firebase Authentication

Email and Google sign-in.

Why Firebase Auth?

Firebase Authentication handles the hard parts of signing users in: secure password storage, token refresh, account recovery and many providers (email, Google, Apple, phone, anonymous).

Instead of building login servers, you call a few APIs and get a verified FirebaseUser. In this lesson you'll do email/password and Google sign-in.

Enable Sign-In Methods

Before writing code, enable the providers you want in the Firebase console:

  • Go to Authentication → Sign-in method.
  • Toggle Email/Password on.
  • Toggle Google on (pick a support email).

For Google sign-in you must also add your app's SHA-1 fingerprint in project settings, or sign-in will fail with a developer error.

All lessons in this course

  1. Setting Up Firebase
  2. Firebase Authentication
  3. Cloud Firestore Basics
  4. Push with Cloud Messaging
← Back to Android Academy