Relative Content

Tag Archive for node.jsfirebasegoogle-cloud-functions

Error deploying the Firebase Cloud function

I am unable to deploy my Firebase cloud function. The function works perfectly when I run the cloud function locally using the Firebase emulator. However, when I attempt to deploy it, I receive the following error:

Restricting a Firebase Function to just registered users [duplicate]

This question already has answers here: Do Firebase Cloud Functions callable functions enforce end user authentication? (2 answers) Closed yesterday. I have a v2 firebase callable function: import { onCall } from “firebase-functions/v2/https”; /// Simple ping to test authentication exports.ping = onCall(async (req) => { return { pong: true }; }); Because it’s a callable […]