2

I want to uncheck "Allow unauthenticated invocations" in my newly created cloud function. I can do it from console. But i want it to be done via command prompt(firebase deploy). I am looking out for some field/attribute which i can add while deploying the cloud function. Please help me with this issue.

1
  • 2
    It's not possible today. Please file a feature request with Firebase support. You can also use gcloud to deploy your functions, but you will not be able to use the firebase-functions module. support.google.com/firebase/contact/support Commented Dec 16, 2019 at 16:32

1 Answer 1

1

Unfortunately, at the time of writing, the public invocation policy is hard coded into the firebase-tools CLI.

The code in question can be found in firebase-tools/src/deploy/functions/release.js.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.