firebase-admin Questions
1
Solved
I have no front end. I want users to use my API e.g (postman) with a basic auth header (email:password) and then using this header I can get the users data from firebase.
however I find no method ...
Carousal asked 5/12, 2019 at 20:27
2
Solved
I'm building a cloud function to get some documents and generate an HTML response.
And right now what I have is:
myFunction.js
import * as admin from 'firebase-admin';
import serviceAccount from...
Gassman asked 21/11, 2019 at 12:18
2
Solved
I have a website that offers a simple messaging service. Individuals can pay for the service, or a business can pay for a monthly subscription and then add their clients/users for free. When the bu...
Saarinen asked 3/5, 2018 at 12:21
1
Solved
I'm currently writing my cloud functions in ES6 and transpiling with Babel to target the Node v10 environment. And I've noticed something weird.
Why is that when I import firebase-functions like t...
Housework asked 12/11, 2019 at 11:8
4
Solved
Trying to integrate Google firestore API at python server
...
File "/home/daffolap-355/repos/subscriptions/appvendor/firebase_admin/firestore.py", line 28, in <module>
raise ImportError('F...
Heartbroken asked 15/1, 2018 at 14:0
1
What is the difference between Firebase SetValue() and SetValueAsync() methods and when to use them?
Official documentation does not show any meaningful difference between SetValue() and SetValueAsync():
https://firebase.google.com/docs/reference/admin/java/reference/com/google/firebase/database/...
Swab asked 31/10, 2019 at 13:50
2
Solved
I am using the Firebase .net Admin SDK on my back end to send push notifications.
According to this link I should be able to add the following json into a message object that will open the set lin...
Bluet asked 4/3, 2019 at 13:2
5
How to set log level for Firestore?
According to documentation here, i should use setLogLevel method but i can't see method at Firestore client objects, like FirestoreClient.getFirestore().
Dell asked 7/2, 2018 at 22:11
2
Solved
On the backend a custom token is generated via firebase's admin SDK thusly:
router.use('/get-token', (req, res) => {
var uid = "big-secret";
admin.auth().createCustomToken(uid)
.then(functio...
Azo asked 5/6, 2017 at 12:10
2
I am designing an application (let's call it a TodoList app) based on VueJs (for the UI) + NodeJs (for the backend, which will run in Google Cloud Platform) + Firestore (for the auth + database).
...
Anabatic asked 23/3, 2018 at 16:6
1
Solved
I have a field in my document that is stored as a Timestamp like so
"created_at": admin.firestore.FieldValue.serverTimestamp(),
What I want to do is find all documents using the admin lib in Cl...
Ranchod asked 2/9, 2019 at 9:30
2
I have a use case where User A can say that User B borrowed from User A some amount of money, similar to apps like Splitwise.
I'm using firestore to store the data. In this particular case, I'll s...
Camise asked 26/8, 2019 at 19:0
1
I initialized the SDK Admin in my code, but when I call an admin function it complains about credentials and tokens. Any idea what this could be caused by?
var serviceAccount = require('../../../pa...
Gocart asked 10/8, 2019 at 11:27
3
Solved
I am trying to sign in with node.js with firebase-admin, but when I look up there API, they only have sections on update, delete and create.
They do have sections on how to get the user by email ...
Categorize asked 22/3, 2017 at 23:41
1
Solved
How to create a document push id for firestore document using Firebase Admin SDK in Firebase cloud function.
I know how to do it in Angular using AngularFire2
const bookingId = this.afs.createId(...
Incalculable asked 24/7, 2019 at 19:41
1
The firestore .collectionGroup() method is getting an error when using it with the firebase-admin sdk in a cloud function. Is it possible to make a collection group query to firestore in a cloud fu...
Mobley asked 6/7, 2019 at 16:9
1
Solved
I need to use Firebase Admin Java in my AWS Lambda project, but Firebase Auth Admin throws a SocketTimeoutException when it tries to fetch a Public Key within the Google's servers. I know Firebase ...
Trident asked 5/7, 2019 at 1:50
0
I enabled facebook login in firebase authentication sign-in method.
As per fb app submission requirements, when a user deletes/deauthorizes my app from fb, I need to delete/deauthorize all the us...
Personate asked 5/7, 2019 at 6:51
2
Solved
As mentioned in FCM documents, unlimited topic can be created for one Firebase application. But as the Firebase Admin SDK document: explains an error:
messaging/too-many-topics:- A registration ...
Provincial asked 18/1, 2018 at 13:29
1
I can update the whole database (Real Database) by importing a json file in Firebase Console:
How can I do it programmatically from server side (with Firebase Admin)?
I tried
private void uplo...
Morphinism asked 31/5, 2019 at 21:6
3
Solved
I want to call a cloud function from firebase from another nodejs server or just a nodejs script.
My firebase function is an onCall function.
I am using https://www.npmjs.com/package/firebase-a...
Faction asked 28/5, 2019 at 14:38
1
The Cloud Functions emulator requires the module "firebase-admin" to
be installed. This package is in your package.json, but it's not
available. You probably need to run "npm install" in your f...
Twin asked 9/5, 2019 at 9:23
2
I'm attempting to use the Python Firebase Admin SDK to send push notifications for my mobile app. I've tested it with the notification composer in the Firebase Console, so I know my device can rece...
Colporteur asked 13/12, 2018 at 22:38
1
I'm new in network and I want to protect the layer 7 of a Google cloud function. I've found cloud armour that allow to create an allow/deny ip list for an https load balancer. Also Cloudflare...
Fatty asked 3/4, 2019 at 5:52
2
Solved
We had a user signup with an invalid email address (@gmail.comp) so as soon as he loses his session, he's going to be permanently locked out since password reset emails won't get to him.
We don't h...
Durward asked 19/3, 2019 at 19:19
© 2022 - 2024 — McMap. All rights reserved.