Firebase: export user accounts’ email and password hashes

前端 未结 3 439
一向
一向 2021-01-30 22:21

I use email/password authentication for my Firebase.

I’m considering moving to a different backend and I’m wondering if there is any way to export user emails/password h

相关标签:
3条回答
  • 2021-01-30 22:32

    You can use the firebase-cli by writing firebase auth:export save_file.csv --format=csv or firebase auth:export save_file.json --format=json

    More details can be found on the firebase documentation page: https://firebase.google.com/docs/cli/auth#authexport

    0 讨论(0)
  • 2021-01-30 22:49

    I did not get any option on firebase console UI. So you need to install firebase tool using npm.

    npm install -g firebase-tools
    

    and then login using

    firebase login
    

    after login you need to run one of command

    CSV Format

    firebase auth:export save_file.csv --format=csv --project <project-id>
    

    JSON Format

    firebase auth:export save_file.json --format=json --project <project-id>
    

    you can get the project-id from home screen of firebase console

    0 讨论(0)
  • 2021-01-30 22:50

    ex corret firebase auth:export save_file.csv --format=csv --project=my-name-project-fb

    0 讨论(0)
提交回复
热议问题