0

I want to get the uid of a user with the help of there email id if he exists in users list, when there mail id is known to me, I have enabled email auth provider in firebase auth.

How to achieve this?

And I need to implement this in Flutter.

I tried nothing because there is no proper description for my query.

  • There is no way to map from a user's email address to their UID in the client-side SDKs from Firebase as that'd be a privacy concern. You can either use the Admin SDK in a trusted environment, or store the mapping in the database. In either of those cases, make sure to secure access to the data to not introduce the same privacy concern yourself. – Frank van Puffelen Feb 10 '23 at 01:51

0 Answers0