firebase How to use the Firebase Database to keep a list of Firebase Authentication users Why save user data in the database


Example

Firebase Authentication allows the users of your app to sign-in with social providers or their email+password. But what if you want to store additional information about a user, beyond what Firebase Authentication allows you to specify?

Or what if you want to display a list of the users in your app? Firebase Authentication doesn't have an API for this.

Most developers solve this problem by storing the additional information in a separate database. This topic covers how to store such information in the Firebase Realtime Database.