Actions53
- App Check Actions
- Auth Actions
- Cloud Messaging Actions
- Firestore Actions
- Firestore Rule Actions
- Storage Actions
- Storage Rule Actions
Auth → Set Custom User Claims
AI-generatedSummary
Set custom user claims for a specified Firebase Authentication user to assign roles or permissions.
Inputs
- Project Name or ID — Select the Firebase project by name or ID, or provide a dynamic expression to specify the project.
- User ID (required) — The UID of the Firebase user whose custom claims will be set.
- Custom Claims (required) — A JSON object specifying the custom claims to assign to the user.
Output shape
a single record containing the updated user information including the new custom claims.
Returns the full user record with updated claims; errors are thrown if the user ID is invalid or claims JSON is malformed.