How to Import Password Hashes from Gigya to Auth0
Sep 10, 2025
Overview
Solution
"password": {
"created": "2024-01-28T17:20:31.188Z",
"hashSettings": {
"salt": "YWJjc29tZXRoaW5n==",
"rounds": 10000,
"algorithm": "pbkdf2_sha512"
},
"hash": "89v2METlSkX2LKWSQGHCdE4iUkE="
}
To import to Auth0, the password needs to be converted to the PHC format, which goes like this:
$pbkdf2-DIGEST$i=ITERATIONS,l=KEYLEN$SALT$HASH
So, in the example above, the conversion looks like this:$pbkdf2-sha512$i=10000,l=20$YWJjc29tZXRoaW5n$89v2METlSkX2LKWSQGHCdE4iUkE
Note that we have truncated the equal (=) signs at the end of the salt and password hash. This is required. Also, note that there is a dollar ($) sign between the salt and the hash.To import a bunch of users, create a script to replace the salt and hash for each user, as the other part of the hash will remain the same.