Skip to main content

All Questions

Tagged with
0 votes
0 answers
29 views

Firebase Authentication incorrectly invalidating tokens generated with signInWithEmailAndPassword

I am developing a system, and I'm currently handling the authentication of users. Here, I'd like users to sign in with their email and password using Firebase. Using the user credentials generated ...
Zhe Hin Yap's user avatar
1 vote
0 answers
25 views

Firebase Realtime Database Emulator - Python Listener Not Triggering on Data Changes

I am running a Firebase Emulator with a Realtime Database and trying to create a listener in Python that detects changes inside the database. My Code: import os import firebase_admin from ...
Mr T's user avatar
  • 81
2 votes
1 answer
49 views

How to add data to Firestore database using python?

I am trying to add test_data dictionary to my Firestore database using python. It is not working since .set() method is not showing there anymore by vscode auto suggestion. from datetime import ...
november's user avatar
0 votes
0 answers
58 views

Google authentication failed: Firebase ID token has incorrect \"aud\" (audience) claim

I’m encountering an issue with Firebase authentication on my backend. My frontend team and I are using Firebase Authentication to authenticate users with Google, but I’m getting the following error: ...
Khadija Fatima's user avatar
1 vote
1 answer
132 views

access firestore database other than (default) in python

I cannot access a Google Firestore database other than one named "(default)". I looked other other solutions online, and added a key to my credential "databaseId" but that doesn't ...
tom's user avatar
  • 1,077
0 votes
1 answer
357 views

FCM Send MulticastMessage

I run tihs code: cred = credentials.Certificate('x.json') firebase_admin.initialize_app(cred) registration_tokens = [ 'GET REAL TOKEN1', 'GET REAL TOKEN2', ] message = messaging....
Alireza.e's user avatar
0 votes
0 answers
23 views

Firebase authentication error while using Vercel environment variables

When I try to use an environment variable in Vercel to authenticate with Cloud Firestore, I get "OSError: [Errno 36] File name too long". My code: json_key_str = os.environ.get("...
Гордеев Михаил's user avatar
0 votes
1 answer
41 views

Firebase email confirmation is not working

Firebase email confirmation is not working I have set up email sending in Firebase Auth. The email arrives, but after clicking the generated link, the email_verified flag remains false. Here is my ...
Maxim's user avatar
  • 27
4 votes
2 answers
207 views

Firebase Firestore client cannot be deployed

I have an Firebase Cloud Functions codebase that uses Firestore database. Everything below works when I use it in local emulator using firebase emulators:start but when I need to deploy it to Firebase ...
haven-way's user avatar
0 votes
0 answers
28 views

issues in fetching data from firebase

I have uploaded the data on firebase which has 12,000 products, and each product has multiple sections, firstly I want to fetch one of the sections from each product. Example: product 1 -> _id, ...
Bee's user avatar
  • 21
0 votes
1 answer
28 views

Django Mock database not working properly

I was coding a unit test method for a post method, but for some reason, it keeps modifying the actual database instead of the mock database. This is my test method: def test_post_contest(self): ...
Fausto Briones's user avatar
2 votes
1 answer
365 views

Firebase-admin sdk for Python raise error "StreamGenerator" is not iterable

Previously(a week ago) my Python code for communicating with Firestore works perfectly fine. But today I started working on it again, it raise error when iterating the collection.stream() ...
slothPete's user avatar
0 votes
1 answer
86 views

Issue with Data-Only Push Notifications Displaying in FCM

I'm using FCM to send push notifications to mobile devices with a Python backend, specifically using the firebase_admin library. I'm sending both data-only and notification messages. Here are the ...
daniel_shtel's user avatar
0 votes
0 answers
55 views

Errno 110 Connection timed out in firebase admin python lambda

I'm trying to create a lambda python api that can send notification to a user device but I'm encountering Connection Timed Out error. Also tried already to set the timeout in lambda to 1 minute but ...
ramedju's user avatar
  • 329
0 votes
0 answers
59 views

Firebase admin authentication works in interpreter but fails in production

I'm interfacing with the resources of a firebase project. From a VM in GCP I am using python to get information from the database and files from the bucket. The VM has gcloud installed and the VM is ...
lesolorzanov's user avatar
  • 3,623

15 30 50 per page
1
2 3 4 5
15