i have try import user using bcrypt but got the message
{
"error": {
"code": 400,
"message": "INVALID_PASSWORD_HASH : OpenBSDBCrypt hash error for verification: not a Bcrypt string",
"errors": [
{
"message": "INVALID_PASSWORD_HASH : OpenBSDBCrypt hash error for verification: not a Bcrypt string",
"domain": "global",
"reason": "invalid"
}
]
}
}
[REQUIRED] Step 2: Describe your environment
Operating System version: MacOs ventura 13.5.1 (22G90)
Library version: firebase.google.com/go/v4
Firebase Product:auth ( import user )
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
by following this code and see ref from firebase cli i have to encode the hashed password with base64
i have check the hashedpassword and compare it with plain password the hash match
[READ] Step 1: Are you in the right place?
i have try import user using bcrypt but got the message
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
by following this code and see ref from firebase cli i have to encode the hashed password with base64 i have check the hashedpassword and compare it with plain password the hash match
Relevant Code:
result of this code success for import
test on postman
i have test import the user with firebase cli the working password can verify