firebase / firebase/firebase-admin-node

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

Đang mở
#2,873 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
needs-triage
Ngôn ngữ chính
TypeScript
Star
1.7k
Fork
419
Merge trung bình
3 ngày 10 giờ
Pull request đã merge (30 ngày)
16

Mô tả

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.