Firebase -> Auth0 scrypt settings


I’m working on migrating users from Firebase Auth into an Auth0 custom database. I’m able to import a test user, but I’m not able to actually log in as that user on the Auth0 side.

Here’s a truncated version of the import.json file I’m using:

    "email": "",
    "email_verified": false,
    "custom_password_hash": {
      "algorithm": "scrypt",
      "hash": {
        "value": {hashed_password},
        "encoding": "base64"
      "salt": {
        "value": {salt},
        "encoding": "base64",
        "position": "suffix"
      "keylen": 32

Wondering if there are additional settings I’m missing, or if this is even possible to do, since it appears that Firebase uses a forked version of scrypt to do its hashing.

Any help is much appreciated! Thanks all!

Hi @drew.edwards,

Welcome to the Auth0 Community!

Often times and improperly formatted hash can result in a successful import, but prevent login.

What happens when you try to log in? If the hash isn’t matching, could you please provide an example/test user that I can use to test the import. This would include a plaintext password, matching hash, salt, and any additional data I could use to test the import. Please don’t share any production passwords/data. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.