Skip to main content

All Questions

-1 votes
0 answers
46 views

GCP: Why can't my Backend Bucket find my public files?

Short Version: I have configured a backend bucket on my load balancer and mapped it to /__/auth/, that bucket contains a publicly acessable file named handler, but when I hit /__/auth/handler I get an ...
David's user avatar
  • 15k
-2 votes
0 answers
15 views

Firebase Project in Google Cloud shows "firebase-core: disabled" even after enabling Firebase APIs [closed]

Hi everyone, I'm fairly new to the development world, and currently learning how to work with Firebase and Google Cloud.. I’ve been learning how to integrate Firebase into my projects and ran into a ...
usman's user avatar
  • 1
0 votes
0 answers
31 views

Firebase App Hosting deployment failed with Traffic Routing Error

I am using Firebase App Hosting. If I make a clean deployment, everything goes fine. If I try to redeploy, I get the error: An error occurred in your rollout generic::failed_precondition: Revision '...
Evorlor's user avatar
  • 7,648
1 vote
1 answer
38 views

Using Google Cloud API service to restrict access to my Firestore database's API key to only my domain. But database still accessible on any domain

I've built a front-end website in React which uses Firebase database as the backend. Of course, the firebase API key and other credentials are visible to the client... const firebaseConfig = { ...
Rodent's user avatar
  • 11
0 votes
2 answers
63 views

Android - How to accurately store the date & time(server time not system) when posting data to firestore

I am currently developing a chat app, and whenever I store data to Firestore, using the FieldValue.serverTimestamp() the date timestamp is saved to the database under the dateCreated field. The only ...
Me Compu's user avatar
2 votes
1 answer
48 views

Firebase Cloud Functions Deployment Fails: " <number>[email protected] not found" after Default Service Account Deletion

Problem: I'm encountering an error when deploying Firebase Cloud Functions: Error: <number>[email protected] not found This error occurred after the default Compute Engine ...
Ibrahim Itani's user avatar
0 votes
0 answers
38 views

passwordHash field returned to client via Firebase Auth Client SDK with Identity Platform enabled

I’m using the Firebase Authentication Client SDK in a React frontend web app using API key from firebase console web app that I created (no Cloud Functions involved). After signing in a user using: ...
Kiriti Velivela's user avatar
1 vote
1 answer
51 views

Simplify index creation in Firestore

I am trying to simplify the index creation in Cloud Firestore. It keeps asking me to create new indexes for anything I do in my app. For e.g., I have the following table, which shows a list of ...
Varun Gupta's user avatar
  • 3,154
0 votes
1 answer
43 views

How to deploy a gen2 Google Cloud function that triggers on Auth events (e.g. user.create)

Using gen1 it looks like this gcloud functions deploy AuthUserCreate --runtime dotnet6 --no-gen2 --entry-point AuthUserHandler --trigger-event providers/firebase.auth/eventTypes/user.create but a) ....
Mark's user avatar
  • 570
0 votes
0 answers
21 views

Is it safe for google-services.json to be included in my Flutter APK if it exposes my Firebase API key? [duplicate]

I'm developing a Flutter application that uses Firebase for authentication and other services. For security reasons, I attempted to remove the google-services.json file from my project and configure ...
Eren Malkoç's user avatar
0 votes
0 answers
36 views

Dialogflow EX Inline Editor Fulfillment: Runtime nodejs10 is decommissioned and no longer allowed

I am getting my students to work on a simple, fun Google Dialogflow EX example, using an Inline Editor fulfillment to access a Firestore. But since this year, the fulfillment fails to deploy, and I am ...
Alix Bergeret's user avatar
0 votes
1 answer
38 views

How do I add website domain to firebase google authentication to show on sign in?

Can someone explain to me how to add custom domain to firebase google auth? I have added it in Authorised domain but its not showing? Do I need to make a code change for it too? It is a nextjs website....
Sam's user avatar
  • 63
0 votes
0 answers
18 views

Can I use GCP Service Account attached to Cloud Functions to access Google Maps API w/o API key? [duplicate]

I have attached "Owner" permissions to the Service Account attached to Cloud Function but still I get 403 Forbidden (i.e. not authorized) when trying to access Maps API (Places). The api ...
Nir's user avatar
  • 113
0 votes
1 answer
65 views

What is the Response type of onRequest from firebase-functions/v2/https?

I am writing a simple code for Firebase Functions v2 in Node.js/TypeScript. I am struggling with the type definition of Response. According to documentation, HttpsFunction should be compatible to ...
Nir's user avatar
  • 113
0 votes
1 answer
66 views

How to authenticate Firebase using GOOGLE_APPLICATION_CREDENTIALS in Azure pipelines

I am attempting to authenticate using GOOGLE_APPLICATION_CREDENTIALS using a service account, but I am receiving an error: Failed to authenticate, have you run Firebase login? I have referenced ...
Scott Richards's user avatar

15 30 50 per page
1
2 3 4 5
267