Firestore and authentication

Click for: original source

Firebase authentication makes it easy to add user identities to your app. When combined with Firestore, it can help to secure user data. By Steve Marx.

Firebase authentication is a slick service for user identity management. It handles creating accounts, logging users in and out, verifying email addresses, and resetting passwords via an emailed link. There’s even prebuilt UI in the form of FirebaseUI Auth. Firebase authentication supports five different auth providers.

The article describes:

  • Firestore data
  • Firebase authentication
  • Listening for authentication changes
  • Logging in
  • Upgrading anonymous accounts
  • Using authentication in Firestore security rules
  • Bonus security rules

Firebase Authentication helps you to manage user identities. Email/password, social logins, and custom back ends can be used to log users in. You will also get links to further reading and code examples. Good read!

[Read More]

Tags nosql software infosec database