firebase-admin-node
firebase-admin-node copied to clipboard
Firebase Admin Node.js SDK
Closes #1885 ### Summary 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. This PR adds...
### Discussion Expose the `FirebaseError` classes to enable code like this: ```ts catch (e) { if (e instanceof FirebaseError) { if (e.code === 'auth/' + AuthClientErrorCode.USER_NOT_FOUND.code) { throw new UserNotFoundException({email});...
Since `PasskeyInfo` is only enrolled via client SDK for the users and we can only GET enrolled passkeys, integration testing is not possible here. Manually tested ``` getAuth().getUser().then((user) => console.log(user.passkeyInfo));...
No integration tests. Manually tested input ``` const users = [ { uid: '3456', email: '[email protected]', emailVerified:true, multiFactor: { enrolledFactors: [ { uid: 'enrolledSecondFactor1', phoneNumber: '+16505557348', displayName: "Spouse's phone number",...
**Is your feature request related to a problem? Please describe.** Currently the library does not support sending the [client](https://cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants#ClientPermissionConfig) key in the createTenant/updateTenant methods. **Describe the solution you'd like** Support...
* Operating System version: Google App Engine (Windows 10.0.19045 in dev) * Firebase SDK version: [email protected] * Firebase Product: Firestore * Node.js version: 16 (16.17.0 in dev) * NPM version:...
Hello I'm using Firebase Auth (actually gcp identity platform) with the session cookie in a NextJS app, everything is working fine but I'm looking a way to refresh the cookie...
### Environment * Operating System version: Windows 11 * Firebase SDK version: "firebase-admin": "^11.10.1" * Firebase Product: appcheck * Node.js version: 18.17.0 * NPM version: 9.6.7 ### Problem description When...
**Is your feature request related to a problem? Please describe.** As a developer, I'd like to be able to verify an ID token across all projects that I have access...