Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quick start

This walk-through goes from a fresh install to an ID token for one of your users. You need a service-account key file; see Preparing your Firebase project if you do not have one yet. The app reads everything else from the project.

1. Open the app

On first launch the status indicator reads not configured in red, and the tabs ask you to load a service account.

2. Load the service-account key

Click Browse… next to Service account and choose the JSON key file.

The path appears in the top bar, Project ID fills itself in from the key, and the indicator changes to SA only. A green Service account loaded message confirms it; click dismiss to hide it.

3. Load the project’s apps

Click Load apps. The app lists the project’s web, Android and iOS apps and fills in each one’s App ID and API key. Pick the app you want to test as from the App dropdown; the indicator turns green and reads ready.

If the service account is not allowed to read apps, enter an app by hand instead: + Add app, choose its type, and paste its API key and App ID. See The top bar.

4. Load your users

Click Load users in the Users panel. The app fetches up to 5,000 users and lists each one by email (or phone number), display name and UID.

5. Generate an ID token

  1. Click a user in the list. Their UID appears under Selected UID in the top bar.
  2. Open the UID -> ID Token tab.
  3. Click Generate.

The ID token appears in a box with a Copy button. Under it are a shortened refresh token, the time until the token expires, and a collapsible Decoded JWT claims table.

Click Copy and use the token wherever your backend expects one, for example:

curl -H "Authorization: Bearer <paste token here>" https://localhost:8080/api/me

6. Keep the setup for next time

The service-account path, Project ID and app list are saved automatically. API keys are saved only if you tick remember API keys & debug tokens; without it, click Load apps again after each launch, or paste the key. See Settings and storage for what that writes to disk.

Next steps