Skip to content

iktakahiro/whoami

Repository files navigation

Who am I - Firebase ID Token Viewer

  • This application prints the tokens generated by Firebase Authentication in readable format.
  • ID tokens are only decoded, not verified.
  • Email or password you entered will never be sent to any outside network except Firebase.
  • This is a developer tool. Do not use for your end users.

screenshot-full

Getting Started

1. Create a new .env.local file

cp .env.example .env.local

2. Set environments

NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_DATABASE_URL=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=

3. Run npm commands

npm i
npm run dev

4. Open your web browser localhost:3000

screenshot-open

5. Enter your email and password

screenshot-input

6. View details of a generated id token

screenshot-result

About

Firebase Authentication JWT id Token Viewer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published