Christopher DeCurtins
Christopher DeCurtins

Reputation: 142

Cloud Function Error: Forbidden unless I open function to allUsers

Sorry for the large scope of the question; any guidance in the right direction is much appreciated.

Upvotes: 2

Views: 896

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317712

GCP allUsers is not related to Firebase Authentication. They deal with different sets of users. A function should have GCP allUsers invoker permission in order to allow access from web and mobile apps where users are signed in with Firebase Auth. GCP does not check the Firebase user - that is up to the function to do, if it wants, using the Firebase Admin SDK.

Upvotes: 4

Related Questions