All Questions
Tagged with node.js firebase-admin
838
questions
0
votes
1
answer
27
views
7 PERMISSION_DENIED: Missing or insufficient permissions
I'm encountering the 7 PERMISSION_DENIED: Missing or insufficient permissions error when trying to access Firestore in my Firebase Cloud Function. Here is the relevant part of my code:
admin.js:
const ...
-1
votes
0
answers
30
views
Use custom email handler for email revocation - Firebase Authentication
I've been using Firebase Authentication for user management. It does not allow to customize the email template for operations like password reset or email verification so I've been using custom email ...
0
votes
0
answers
31
views
Why did my Firebase Service Account stop working?
Today I began upgrading my NestJS backend from 9 to 10. The firebase upgrade was not a major upgrade.
Firebase upgrade:
"firebase-admin": "^12.0.0" to "firebase-admin": &...
0
votes
1
answer
76
views
Firebase Admin SDK - Permission Denied with Service Account in Realtime Database
I'm trying to use the Firebase Admin SDK to access my Realtime Database from a Node.js environment ( also try via c#, but same result). Despite setting up the service account and initializing the ...
0
votes
1
answer
52
views
Can I use the Auth Token of a user in Firebase CLI as credentials for Firebase Admin SDK?
If you're using firebase-tools as a module, you can get the refresh token of a user by
import { getGlobalDefaultAccount } from "firebase-tools/lib/auth.js";
const account = ...
0
votes
0
answers
47
views
Can't use service account on emulator
I'm working on a project using React and Firebase. I'm working with Firebase emulator and I want to get the getDownloadURL out of a an image thats uploaded to Firebase storage so that i can add it to ...
0
votes
0
answers
47
views
Problem in login with firebase and admin sdk
We use the firebase athentification to login and check the session of user. But we d'ont know why, the serveur make a 500 code error.
In the web, we have this:
POST https://www.falc-on.fr/login?_data=...
0
votes
0
answers
20
views
clickAction doesnt work for andriod, ios (FCM admin SDK)
I'm trying to make the deep link open when click on the notification. When I click the notification nothing happens.
I'm using nodejs, admin sdk. Also don't understand what on ios to use for deep ...
0
votes
0
answers
12
views
Extract `mediaLink` of each uploaded file to firebase storage on multiple upload using NodeJS server
I'm trying to extract the mediaLink and name properties from each uploaded file to firebase storage, however, what happen is that the files are uploaded successfully but the response is an empty ...
1
vote
0
answers
64
views
NestJS FCM - Error fetching access token: Error while making request: read ECONNRESET. Error code: ECONNRESET
I have set up a nestJS project to send messages using Firebace(FCM)
app.module.ts
import { Module } from '@nestjs/common';
import { FirebaseModule } from './firebase.module';
import { ...
0
votes
0
answers
29
views
How to use Firebase named database with admin SDK [duplicate]
I've got two Firestore databases: the default database (default) and a named database test-db.
I am using the firebase-admin npm package to access these databases on my Node server.
By default ...
0
votes
1
answer
167k
views
Firebase ID token has incorrect \"aud\" (audience) claim. Expected XXX but got XXX
I'm creating app with React Native and nodeJS. I already have my auth system. Now I try to implement Google Sign In. So :
Created a Google application in Firebase.
Generated the .keystore file and ...
2
votes
0
answers
435
views
why am I getting Module not found: Error: Can't resolve './build/Debug/farmhash.node error during my firebase setup in Node.js
I am writing some server side code in my angular application.
For that I need firbase-admin. I am following the steps from the official website here
for firebase-admin installation. After that I wrote
...
0
votes
0
answers
19
views
How to check if my user has signed in with my customOAuth using firebase [duplicate]
I have a spotify oAuth2.0 on my application and i have successfully linked it to my firebase using firebase admin sdk createCustomTokens. When i do this the response gotten from firebase about my ...
0
votes
1
answer
50
views
Unable to sign in a new user that was created using node js and firebase-admin
Goal: create a user and sign in after that. simple as that.
I created the user usinf nodejs and firebase-admin with the standard function that work just fine:
createUser: function (fullName, email, ...