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
2
Answers
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.
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.