Firebase Admin icon

Firebase Admin

Interact with Firebase Firestore, Auth, and Storage using Firebase Admin SDK

Auth → Verify ID Token

AI-generated

Summary

Verify a Firebase ID token to authenticate a user within a specified Firebase project.

Inputs

  • Project Name or ID — Select or specify the Firebase project by name or ID to use for token verification.
  • ID Token (required) — Provide the Firebase ID token string that needs to be verified.

Output shape

a single record containing the decoded token claims if verification is successful

If verification fails, the operation will throw an error. The output includes the token's authenticated user information and claims.

Examples

Example 1: Verify a user's Firebase ID token to confirm their identity and retrieve their authenticated claims.

Set the 'Project Name or ID' to the relevant Firebase project and supply the 'ID Token' obtained from the client.

Links

Discussion