A CLI tool and a package to generate firebase authentication id token
go get -u github.com/yuzuy/firebase-idtoken-gen
or
go get -u github.com/yuzuy/firebase-idtoken-gen/cmd/firebase-idtoken-gen
Usage of firebase-idtoken-gen:
-apikey string
specify api key of your firebase project
-credfile string
specify your firebase service account credential filepath. by default, read from GOOGLE_APPLICATION_CREDENTIALS or FIREBASE_CONFIG
-p string
specify your firebase project id. by default, read from application default credentials