-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getUser() return value contains passwordHash and passwordSalt #501
Comments
I found a few problems with this issue:
|
Is there any other way to get the password hash? |
You can get passwordHash and passwordSalt using the listUsers method from admin auth api |
google does not fix this, right? |
@hiranya911: Which firebase-admin version are you using? |
Can confirm this is still an issue in this setup: "firebase": "9.6.4",
"firebase-admin": "10.0.2",
"firebase-functions": "3.16.0", |
I'm also have same problem. |
This makes no sense. I just want to get a single user password hash to match using firebase admin and I need to pull the entire user list to do it. Can you imagine charging the app with millions of user entries just to get only single entity property from one position? It's also heavy for Firebase servers at all... |
is there any update on this? |
Hi, please can we have an update on this? |
The
UserRecord
returned byadmin.auth().getUser()
containspasswordHash
andpasswordSalt
fields.This resulted in:
This is contrary to the documented behavior:
The text was updated successfully, but these errors were encountered: