Closed rmachado33 closed 5 years ago
Hi, I'm adding the auth property in the FirestoreClient constructor function to fulfill a security rule in my Firestore project in this way,
$this->firestoreClient = new FirestoreClient('my_project_id', 'my_api_key', [ 'database' => '(default)', 'auth' => '{ uid: "some_number" }' ]);
but I always get 'PERMISSION DENIED' 'Missing or insufficient permissions'.
What is the proper way to add this to the initial config object?
What method of authentication you're invoking? See the authentication document here
Closing due to inactivity.
Hi, I'm adding the auth property in the FirestoreClient constructor function to fulfill a security rule in my Firestore project in this way,
but I always get 'PERMISSION DENIED' 'Missing or insufficient permissions'.
What is the proper way to add this to the initial config object?