Home > Back-end >  Is it possible to implement user search function using firebase auth?
Is it possible to implement user search function using firebase auth?

Time:01-12

I wonder how to do user management using Firebase. I have completed the implementation of the authentication process using firebase auth, but is it developed in a way that additionally stores user information in Firestore to perform a user search function? I wonder if general users can use the user search function using the Firebase auth SDK.

Also, I'm curious about how the user operation on the client-side using Firebase is currently performed.

CodePudding user response:

You can only register or verify the user using auth service and if you want to search user you have to store user data in real-time or firestore.

CodePudding user response:

When Firebase auth is processed, user information is also recorded in Firestore. I was wondering if this method is correct.

Yes, that's correct. That's actually a common approach when it comes to storing user data. Once the user is authenticated grab the corresponding data and store it in the database. You can either use Firestore or the Realtime Database.

I was wondering if it is possible to get user information from the auth function and manage users more efficiently.

I'm not aware of a more efficient way of doing that.

  •  Tags:  
  • Related