Firebase
Auth Commands
Manage Firebase Authentication from the CLI. Export and import users, configure auth providers, and manage user accounts for your application.
2 commands
Pro Tips
Export users with 'firebase auth:export users.json --format=json' for backups or migration to another project.
Import users with hashed passwords: 'firebase auth:import users.json --hash-algo=BCRYPT' preserves passwords.
Use the emulator to test auth flows without creating real accounts or sending verification emails.
Common Mistakes
Exported user data contains password hashes and sensitive info. Store exports securely and never commit to git.
Importing users with the wrong hash algorithm silently corrupts passwords — users won't be able to log in.