Home > Back-end >  Firebase Auth get current user password
Firebase Auth get current user password

Time:01-06

I want to get the password of the current user that is login so i can rewrite his password written in firestore, my app is about dementia patient so i need to store password in firestore so the one managing the patient can see the password

hope any one has a method to get password from FirebaseAuth

CodePudding user response:

There is no way to get the password from Firebase Authentication, as it doesn't store the password in cleartext. It only stores the hash and salt, both of which you can get from the Admin SDK or by exporting the list of users through the CLI.

If you must capture the password, you'll have to do so at the source: in the application where the user enters it.

CodePudding user response:

Found answer to my question, thanks for those who suggested answer ^^ This is the answer to my solution hope can help

Just get the password every sucessful login and save it to firestore.

  • Related