- The Admin SDK can now read the Firebase/Google Cloud Platform project ID from both
GCLOUD_PROJECT
andGOOGLE_CLOUD_PROJECT
environment variables.
Authentication
- The Admin SDK can now create custom tokens without being initialized with service account credentials.
- The SDK now provides a
ServiceAccountId
option specifier, which can be used to set just the client email of a service account. - When deployed in an environment managed by Google (e.g. Google App Engine), the SDK can auto discover a service account ID without any explicit configuration.
- The Admin SDK now uses a regular unauthorized HTTP client to fetch public keys when verifying ID tokens. Developers who use
VerifyIDToken()
function are highly recommended to upgrade to this version, so this change will take effect. The underlying Google API that issues public keys will soon stop responding to authorized HTTP requests.