firebase-admin Questions

2

Solved

I am trying to create new private key for firebase admin sdk, but the button is not available. Can someone guide me on how can i achieve this? Any solution appreciated!

6

Solved

I'm trying to connect Instagram OAuth to Firebase through Node.js back-end. I have successfully retrieved Instagram account data including access_token which I want to exchange with firebase-admin'...
Tankersley asked 30/9, 2017 at 16:18

2

Solved

I have enabled Firebase App Check in my project to ensure all requests are coming only from our app. That has been working well till now (Using RecaptachaV3 as a Attestation Provider for web). Howe...

3

Solved

I am not able to get, update or create the documents in Google Firebase (Cloud Firestore) database using Python. What I have: A) The database with a collection and documents (inserted manually on...
Inquietude asked 27/2, 2019 at 4:59

2

Solved

I'm trying to import the DecodedIDToken type (https://firebase.google.com/docs/reference/admin/node/firebase-admin.auth.decodedidtoken) so that I can assign a type to the value in the .then() callb...

1

Solved

Is there a way I can check if an error is of type "AuthError" in TypeScript when using Firebase. I have an Https Callable function that has a try/catch block that includes the following: ...

9

Solved

I recently started getting the error below when trying to deploy to Firebase (after having done so successfully in the past). I'm not sure what might have changed for this to start occurring. If I ...
Houseman asked 19/10, 2017 at 4:21

3

I'm using firebase admin SDK on cloud functions to create users using admin.auth().createUser({ email: someEmail, password: somePassword, }) now I want user to signIn using signInWithEmailAndP...

3

Solved

Since Deno has been released stable build just a few days ago, Is there a possible way to use firebase-admin with Deno?
Pneumoconiosis asked 17/5, 2020 at 14:30

1

We are trying to implement a Google Sign-In button in our mobile app and send the idToken to our NodeJS server to complete the authentication process. The generation of the idToken on the mobile ap...
Phantom asked 29/12, 2021 at 0:48

1

I'm beginning to use custom claims in my Firebase project to implement a role-based authorization system to my app. I'll have a firebase-admin script which is going to set {admin: true} for a spec...
Antre asked 27/2, 2019 at 18:3

4

I want to create a custom token without using a service account json. Tried the below config items: https://firebase.google.com/docs/auth/admin/create-custom-tokens#using_a_service_account_id http...

4

Solved

Continuing to try to get firebase serve to work again. I just asked this question (and got a good reply, thanks): npm ERR! peer dep missing: firebase-admin@^7.0.0, required by [email protected...
Soot asked 9/5, 2019 at 22:52

5

I'm trying to send a multicast notification via FCM from a Firebase Cloud function with the following code: const message = { tokens: recipients, notification: { title: title, body: body }, ...
Betts asked 20/5, 2019 at 8:22

2

Solved

My local function works fine running on firebase serve --only functions but once it is deployed to the cloud, I cannot make the same get request to it, using postman. I get the following error ...
Lampert asked 11/12, 2018 at 17:32

0

Starting around October firebaseAdmin.auth().getUser(uid) is having an extremely slow response time - often reaching more than 60 secs and even more - and then it returns back to normal. My first s...

2

Solved

I am trying to create a JSON object and send it to the Firebase Database using python, but when I do this I get: TypeError: Object of type 'Tag' is not JSON serializable Here is my code: data = ...

2

I'm using firebase admin to interact with Firestore and auth from a custom backend (next.js api routes). Firebase recently announced they're going with modular tree-shaking packages. How can I refa...
Lycian asked 2/10, 2021 at 19:46

2

Solved

As the title implies, how to generate access token from username and password on the server? There are methods to that on the client, but I can't find anything to do that directly on serve side.

2

Solved

I am fixing an error message which occurred, but it also used to work before. I am sending FCM notification with multiple tokens and am getting the following error 0|api | 2020-2-11 13:26:26 [Exce...

2

Solved

Aim: to upload a file into a folder within Firebase Storage E.g. default_bucket/folder1/file1 default_bucket/folder1/file2 default_bucket/folder2/file3 Using Firebase client-side I am able t...
Backstitch asked 28/2, 2019 at 19:34

3

I have been using Firebase Admin SDK in my Node JS code for authenticating users from the server side. The Admin SDK provides a method admin.auth().createUser() to create new users. admin.auth()....

2

Solved

I am trying to implement a feature for a user to change their password in their settings page when they are logged in, and I require the user's old password as well as the new password when they tr...

2

Solved

when I was trying to connect google firebase real time database, I got this error: ValueError: The default Firebase app already exists. This means you called initialize_app() more than once withou...
Quesada asked 18/7, 2021 at 7:17

4

Solved

I'm new to Firebase and I am following their tutorial online. I'm trying to authenticate into a quick DB that I created with a few records. I'm getting the error: TypeError: init() got an unexpecte...
Monastery asked 19/5, 2019 at 23:30

© 2022 - 2024 — McMap. All rights reserved.