firebase auth:import users.json --hash-algo scrypt --rounds 8 --mem-cost 14

Category: Firebase & Firestore

firebase auth:import users.json --hash-algo scrypt --rounds 8 --mem-cost 14

Import users hashed with scrypt

Imports users whose passwords were hashed with scrypt, declaring the exact scrypt parameters used by the source system: 8 rounds and memory cost 14. Firebase must know these values to reproduce the hashes at login time. Getting a parameter wrong makes imported passwords unverifiable, so keep the source settings handy.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.