You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firestore emulator automatically applies the rules set in firebase.json. This could be mentioned in the code comments/tutorial. To write data you need to use initializeAdminApp, otherwise, the mock data write will probably fail because of the rules.
The text was updated successfully, but these errors were encountered:
@johanneshayry Hey I encounter the same problem.
When trying to use a empty null auth object.
I got a error Error: auth must be an object with a 'sub' or 'uid' field
Even when I created a object with sub and uid field it still failed.
Can you post the code you used with initalizeAdminApp to insert mock data.
Firestore emulator automatically applies the rules set in firebase.json. This could be mentioned in the code comments/tutorial. To write data you need to use initializeAdminApp, otherwise, the mock data write will probably fail because of the rules.
The text was updated successfully, but these errors were encountered: