Firebase Admin icon

Firebase Admin

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

Auth → Create Custom Token

AI-generated

Summary

Create a Firebase custom authentication token for a specified user ID, optionally including additional developer claims.

Inputs

  • Project Name or ID — Select the Firebase project by its name or ID, either from the list or via an expression.
  • User ID (required) — The UID of the Firebase user for whom the custom token is generated.
  • Developer Claims — A JSON object specifying optional additional claims to embed in the custom token, for example {"premiumUser": true}.

Output shape

A JSON object containing the custom token string generated for the specified user.

The output includes the custom token which can be used for Firebase authentication flows. Developer Claims are optional and if provided will be included in the token payload.

Links

Discussion