Hello, we get this error when importing users with custom_password_hash
’s algorithm SHA512:
"errors": [
{
"code": "ONE_OF_MISSING",
"message": "",
"path": "custom_password_hash"
}
]
Sample payload:
[
{
"email": "some@email.com",
"name": "Someone",
"blocked": false,
"custom_password_hash": {
"algorithm": "sha512",
"hash": {
"value": "$6$rounds=9564$thesalt$LHJ7L6WXd7xgHLy891NUlRAeCIdCc0jPVHPv0kjBIq0OdPmbriVZZ.KUtdQ.e5lnzN5Xe.py/h9jYpGr8twK5.",
"encoding": "hex"
},
"salt": {
"value": "$6$rounds=9564$thesalt$"
}
},
"mfa_factors": [
{
"phone": {
"value": "+601234567890"
}
},
{
"email": {
"value": "some@email.com"
}
}
],
"user_metadata": {
"key": "value"
}
}
]
I have tried adding 0
as the prefix for odd number of characters in the hash.value
as suggested on "ONE_OF_MISSING" with Custom Password Hash - #4 by jmangelo, but it didn’t work.
Kindly assist
Thank you!