This is a very simple NodeJs script to generate the Firebase access token from email and password.
Clone the repository.
git clone https://github.com/tkm-kj/firebase-auth-generate-token.git
Create a .env
file in the root directory of your project and paste your Firebase credentials.
FIREBASE_API_KEY=
FIREBASE_AUTH_DOMAIN=
FIREBASE_PROJECT_ID=
Start the script.
make
Once you run the script, you will be prompted the email and password. If the credentials are correct, the script will return the access token.
- Thiago Régis (tregismoreira) - Initial work
See CONTRIBUTING.md
See LICENSE