firebase / firebase/firebase-admin-node

[firebase/auth] Is there any way to check what are the Password Hashing Parameters for a FB emulator project?

Open
#2,873 1 comment 1 reaction 0 assignees View on GitHub
needs-triage
Dominant language
TypeScript
Stars
1.7k
Forks
419
Avg merge
3d 10h
Merged PRs (30d)
16

Description

Hello,

I'm trying to export users created in a FB emulator project to import them into another emulator project and eventually a normal FB project.

I'm trying to use the [importUsers()](https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.baseauth#baseauthimportusers) function of the SDK. I got the list of users (with hashed passwords) ready for the import, but I'm stuck at provisioning the [UserImportOptions](https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.userimportoptions.md#userimportoptions_interface) argument, since I'm not sure how to obtain these from a FB emulator project.

There are clear instructions on how to get these Password hash parameters for a normal FB project ([link](https://firebase.google.com/docs/auth/admin/import-users#import_users_with_firebase_scrypt_hashed_passwords)) but I haven't been able to find anything for emulator projects.

Is this possible? Any idea?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.