Easily generate Firebase tokens from the command-line!
Note: By default firebase-tokenize uses your stored Firebase credentials from firebase-tools so you will not normally need to supply email/password
Install via npm:
npm install -g firebase-tokenize
firebase-tokenize -n yourFirebase '{"uid": "america", "is": "bestest"}'
Your Firebase name.
Your account email address (used for manual authentication).
Your account email address (used for manual authentication).
The index of the Firebase's secret which should be used to generate the token.
Set the Firebase token to a debug token.
Set the Firebase token to an admin token.
An epoch after which this token expires.
An epoch after which this token becomes valid.
Development of this library is sponsored by Rigidflame Consultants.