2

Created a new Firebase project. Created a test function, as described here.

Trying to call this function, I get PERMISSION DENIED, both when trying to call it from my flutter app, or directly (403 Forbidden).

Suggestions from this post didn't help...

This is my second flutter-firebase project. The first one runs just fine, can't see any differences between them that might explain this behaviour. Appreciate any help with this issue :)

my code:

const functions = require('firebase-functions');

exports.helloWorld = functions.https.onRequest((request, response) => {
 response.send("Hello from Firebase!");
});
ByteMe
  • 1,575
  • 1
  • 12
  • 23
user6097845
  • 1,257
  • 1
  • 15
  • 33

1 Answers1

4

Well, found the solution here ("Allowing unauthenticated function invocation"):

"As of January 15, 2020, HTTP functions require authentication by default. You can specify whether a function allows unauthenticated invocation at or after deployment"

user6097845
  • 1,257
  • 1
  • 15
  • 33