How to set hash-key option for auth:import after default auth:export in firebase?

后端 未结 2 941
孤独总比滥情好
孤独总比滥情好 2021-02-05 08:34

I\'ve got my users exported the in CLI:

firebase auth:export my_users.json

The passwords in the exported file should be hashed with SCRYPT, bec

2条回答
  •  心在旅途
    2021-02-05 09:05

    Referring to Firebase documentation - "Firebase Authentication Password Hashing": https://firebaseopensource.com/projects/firebase/scrypt/

    Finding the Password Hash Parameters

    Firebase generates unique password hash parameters for each Firebase project. To access these parameters, navigate to the 'Users' tab of the 'Authentication' section in the Firebase Console and select 'Password Hash Parameters' from the drop down in the upper-right hand corner of the users table.

    Seems like there is no option to fetch hash parameters via cli unfortunately. So, the GUI is the only way, I suppose (as Geoffrey Wall mentioned on their answer).

提交回复
热议问题