firebase / firebase/firebase-admin-node

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

Aperta
#2,873 1 commento 1 reazione 0 assegnatari Vedi su GitHub
needs-triage
Lingua principale
TypeScript
Stelle
1.7k
Fork
419
Merge medio
3g 10h
PR unite (30g)
16

Descrizione

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!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.