You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will accept a string value of "SALT_FIRST" or "PASSWORD_FIRST" and it will only apply to the SHA512, SHA256, SHA1, MD5, HMAC_SHA512, HMAC_SHA256, HMAC_SHA1, and HMAC_MD5 algorithms.
Usage Example
constimportOptions={hash: {algorithm: 'SHA256',rounds: 80,inputOrder: 'PASSWORD_FIRST',// or 'SALT_FIRST'}};returnadmin.auth().importUsers(users,importOptions).then((results)=>{console.log('Users successfully imported!',results);}).catch((error)=>{console.log('Failed to import users:',error);});
The text was updated successfully, but these errors were encountered:
Feature Request Description
Add a new
hash.inputOrder
option for theimportUsers()
auth method, inspired by the--hash-input-order
parameter of the Firebase CLI.It will accept a string value of
"SALT_FIRST"
or"PASSWORD_FIRST"
and it will only apply to theSHA512
,SHA256
,SHA1
,MD5
,HMAC_SHA512
,HMAC_SHA256
,HMAC_SHA1
, andHMAC_MD5
algorithms.Usage Example
The text was updated successfully, but these errors were encountered: