firebase / firebase/firebase-admin-node

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

Ouverte
#2,873 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
needs-triage
Langage dominant
TypeScript
Étoiles
1.7k
Forks
419
Merge moyen
3 j 10 h
PR mergées (30 j)
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!

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.