firebase / firebase/firebase-admin-node

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

Offen
#2,873 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
needs-triage
Vorherrschende Sprache
TypeScript
Sterne
1.7k
Forks
419
Ø Merge
3 T. 10 Std.
Gemergte PRs (30 T.)
16

Beschreibung

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!

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the importUsers() entry point and the UserImportOptions interface, then compare the linked normal-project password-hash guidance with Firebase Auth emulator behavior. Determine whether emulator password-hashing parameters are exposed, and document the supported way to obtain or use them for migration if one exists.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
node.js, typescript
Bereich
authentication
Issue-Typ
Dokumentation
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.