New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

firebase-auth-info

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firebase-auth-info

Command line utility to generated firebase auth token.

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Firebase Auth Info

NPM version

Command line utility to generated firebase authenticated info.

Installation

npm install -g firebase-auth-info

Usage

firebase-auth-info path_to_firebase_config.json options

Options

  • --anonymously, -a: anonymous authentication

    firebase-auth-info path_to_firebase_config.json --anonymously
    

    Requires anonymously authentication provider enabled

  • --create, -c: create user with email and password

    firebase-auth-info path_to_firebase_config.json --create <email> <password>
    

    Requires email/password authentication provider enabled

  • --signin, -s: sign in with email and password

    firebase-auth-info path_to_firebase_config.json --signin <email> <password>
    

    Requires email/password authentication provider enabled

Firebase Config

In order to generate firebase config file:

  • Create Firebase project
  • Enable authentication
  • Create web app
  • Create json file with firebase config details, it should be the following one
{
  "apiKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "authDomain": "XXXX-XXXX.firebaseapp.com",
  "projectId": "XXXX-XXXX",
  "storageBucket": "XXXX-XXXX.appspot.com",
  "messagingSenderId": "XXXXXXXXXXXXXX",
  "appId": "X:XXXXXXXXXXXX:web:XXXXXXXXXXXXXXX",
  "measurementId": "X-XXXXXXXX"
}

Keywords

firebase

FAQs

Package last updated on 27 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts