# Firebase -\> Auth0 scrypt settings

**URL:** <https://community.auth0.com/t/firebase-auth0-scrypt-settings/102815>\
**Category:** Get Help\
**Tags:** user-import-export, user-management\
**Created:** [March 17, 2023, 6:45pm UTC](https://community.auth0.com/t/firebase-auth0-scrypt-settings/102815 "2023-03-17T18:45:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drew.edwards](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@drew.edwards](https://community.auth0.com/u/drew.edwards)\
**Post date:** [March 17, 2023, 6:45pm UTC](https://community.auth0.com/t/firebase-auth0-scrypt-settings/102815/1 "2023-03-17T18:45:28Z")

</div>

Hello!

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:

```auto
    "email": "test@test.com",
    "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!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 23, 2023, 3:13pm UTC](https://community.auth0.com/t/firebase-auth0-scrypt-settings/102815/3 "2023-03-23T15:13:57Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 24, 2023, 1:51pm UTC](https://community.auth0.com/t/firebase-auth0-scrypt-settings/102815/4 "2023-04-24T13:51:51Z")

</div>

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