Giter Site home page Giter Site logo

firetoken's Introduction

Firetoken

A command line utility to sign-in to a Firebase project given an email and password. Intended to be used whilst developing applications that need to call Firebase.

The utlity will return a JWT and details about the claims for this user.

Usage

Grab a JWT

$ firetoken -w AIzaSyBS6cml-rrPpIrSgf6Mqc3ZeSI_B50sdxg
? Email: [email protected]
? Password: ********
Display Name: John Doe
Email: [email protected]

IDToken:
eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk3ZmNiY2EzNjhmZTc3ODA4ODMwYzgxMDAxMjFlYzdiZGUyMmNmMGUiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vdGVzdC1zcHljYW1lcmFjY3R2IiwibmFtZSI6IkpvaG4gRG9lIiwiY3V1aWQiOiJhODg1YTlhYi01YjIyLTRmZTQtODgyYi1jNTA4YjFhMDM0N2IiLCJyb2xlIjoiY3VzdG9tZXIiLCJhdWQiOiJ0ZXN0LXNweWNhbWVyYWNjdHYiLCJhdXRoX3RpbWUiOjE1NTAwMzU3OTIsInVzZXJfaWQiOiJhakxEWWF1ZHpmT0s4Vkk4N05vSG5MTWZWRkIyIiwic3ViIjoiYWpMRFlhdWR6Zk9LOFZJODdOb0huTE1mVkZCMiIsImlhdCI6MTU1MDAzNTc5MiwiZXhwIjoxNTUwMDM5MzkyLCJlbWFpbCI6ImFuZHlAYW5keWZ1c25pYWsuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbImFuZHlAYW5keWZ1c25pYWsuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.M0Ve7-aq3lSN_yjGkD9vaTsUiFhwnmESL6ongb8b4ZkcsiHctsXZYivwYKltO2UdhHblCE0BKnXY5goFwNS98uuq0xtu0waTVdkgO396VfW1HQOVuExWa8VjwYTPu_z8sV2doKlkfaLdFJd0cXVYJ2EF0pa7FAgEL4Zr3y4khmFsT1Vl-dwgVDF1vaqTFntJxlxVvJiPIGxgdtu6CYwranyKwaYi6mzJYOtiiorYAte2GX_rUm4JBuTxVEkBnxi3ZXO4V2JeL6iKrmYJluC8T1aBcFeLx6dihTaWRTZwVUEtAcV8Jys7VNfUJPGJKMACm5ds4sZJ_U9Zjfy_cqnHJA

Claims:
CUUID: a885a9ab-5b22-4fe4-882b-c508b1a0347b Role: customer

Show version

$ firetoken -v
v0.1.0

Build

go build -ldflags "-X main.version=v0.1.0" -o firetoken
``

firetoken's People

Contributors

andyfusniak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.