firebase-id-token-generator

1.0.1 • Public • Published

Introduction

Generate Firebase ID Tokens using CLI without the cumbersome of using the client side to generate tokens.

This package is especially handy for backend developers to generate tokens for testing purposes for their APIs.


Installation

This Package can be installed via npm globally

npm install -g firebase-id-token-generator

How it works

how to generate id token

After installing it globally you can use it anytime you need it.

From your terminal run

firebase-generate-id-token

It will ask you to provide the followings from you firebase project:

Web API: you can find it from firebase project settings

Service Account File Path: first enable firebase admin sdk from your project settings then you can download this file

User UUID: you can find it on firebase authentication dashboard

Package Sidebar

Install

npm i firebase-id-token-generator

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

60.2 kB

Total Files

4

Last publish

Collaborators

  • khawlah-elshah