https://github.com/iktakahiro/whoami
Firebase Authentication JWT id Token Viewer
https://github.com/iktakahiro/whoami
firebase firebase-auth jwt nextjs react
Last synced: about 2 months ago
JSON representation
Firebase Authentication JWT id Token Viewer
- Host: GitHub
- URL: https://github.com/iktakahiro/whoami
- Owner: iktakahiro
- License: mit
- Created: 2022-12-15T08:32:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-20T12:06:18.000Z (over 3 years ago)
- Last Synced: 2025-09-08T15:57:20.253Z (10 months ago)
- Topics: firebase, firebase-auth, jwt, nextjs, react
- Language: TypeScript
- Homepage:
- Size: 854 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.

## Getting Started
### 1. Create a new .env.local file
```bash
cp .env.example .env.local
```
### 2. Set environments
```env
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=
```
* https://firebase.google.com/docs/web/setup
### 3. Run npm commands
```bash
npm i
npm run dev
```
### 4. Open your web browser localhost:3000

### 5. Enter your email and password

### 6. View details of a generated id token
