0

I am a beginner at flutter, In my project I need to get then list every Authenticated user's id from Firebase Auth not from Firestore. Is that possible?

Frank van Puffelen
  • 499,950
  • 69
  • 739
  • 734
KTJ
  • 19
  • 2
  • 1
    I think this might be what you are looking for. https://stackoverflow.com/questions/46939765/retrieving-a-list-of-users-who-have-registered-using-firebase-auth – Developer Extraordinare Nov 02 '21 at 19:32

2 Answers2

0

firebase will assign uid to every authentication, so you can get the user id by

firebaseAuth.currentuser.uid
Gbenga B Ayannuga
  • 1,289
  • 1
  • 7
  • 22
0

you can you FirebaseAuth like this FirebaseAuth.instance.currentUser.uid for more visit firebase auth