Installing the Admin SDK

This document shows you how to install the Identity Platform Admin SDK. The Admin SDK lets you manage Identity Platform from a server environment, and perform administrator actions such as migrating users, setting custom claims, and configuring identity providers.

Before you begin

To use the Admin SDK, you need a server app running one of the following:

Language Minimum framework version
Node.js Node.js 8.13.0+
Java Java 7+ (Java 8+ recommended)
Python Python 2.7+ or 3.4+ (3.4+ recommended)
Go Go 1.9+
C# .NET Framework 4.5+ or .NET Core 1.5+

The following table lists the features supported by each SDK language:

Feature Node.js Java Python Go C#
Custom token minting
ID token verification
User management
Control access with custom claims
Refresh token revocation
Import users
Session cookie management
Generating email action links
Managing SAML/OIDC provider configurations
Multi-tenancy support
Realtime Database *
Firebase Cloud Messaging
FCM Multicast
Manage FCM topic subscriptions
Cloud Storage
Firestore
Project Management
Security rules
ML model management
Firebase Remote Config
Firebase App Check
Firebase Extensions

Console

  1. Create a service account:

    1. Ensure that you have the Create Service Accounts IAM role (roles/iam.serviceAccountCreator) and the Project IAM Admin role (roles/resourcemanager.projectIamAdmin).