firebase-admin-node
firebase-admin-node copied to clipboard
Firebase Admin Node.js SDK
### [READ] Step 1: Are you in the right place? * For issues related to __the code in this repository__ file a Github issue. * If the issue pertains to...
**The problem** There is a longstanding issue with extremely slow cold-start times when using the official Nodejs Firestore library in serverless environments: https://issuetracker.google.com/issues/158014637. It appears that the underlying issue is...
### Discussion * related to #1861 ### Testing * test for checking impersonated service account added. ### API Changes * no change on public API
**ReadWriteTransactionOptions** is not exported from `firebase-admin/firestore` however available in `@google-cloud/firestore`
Phone number authentication via REST API.I I have an app(android/ios) which calls backend api. This backend api will integrate the firebase or using googleapis for otp authentication and then send...
The [`updateUser()`](https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.baseauth.md#baseauthupdateuser) and [`createUser()`](https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.baseauth.md#baseauthcreateuser) methods always perform two API requests under the hood: (1) the create/update request, and (2) a subsequent [`getUser()`](https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.baseauth.md#baseauthgetuser) request. In latency-sensitive applications where the result of...
Closes #1876 ### Summary Currently, the custome user claims can be updated with [setCustomUserClaims()](https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.baseauth.md#baseauthsetcustomuserclaims), and the user details can be updated with [updateUser()](https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.baseauth.md#baseauthupdateuser). Both use same [/accounts:update](https://cloud.google.com/identity-platform/docs/reference/rest/v1/accounts/update) REST API under...
Currently, the custome user claims can be updated with [`setCustomUserClaims()`](https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.baseauth.md#baseauthsetcustomuserclaims), and the user details can be updated with [`updateUser()`](https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.baseauth.md#baseauthupdateuser). Both use same [`/accounts:update`](https://cloud.google.com/identity-platform/docs/reference/rest/v1/accounts/update) REST API under the hood. Is there...
An HTTP agent can be specified in `initializeApp()` using [`AppOptions.httpAgent`](https://github.com/firebase/firebase-admin-node/blob/94dd7c3efb9ff00b0462cf772b803d6abecc2dcc/src/app/core.ts#L85). When running on GCP infrastructure using application default credentials, the SDK will request the internal metadata server at an `http:`...