Secure access to Firestore

Greeting @Scott_Harrison ,

I am using the Firestore plugin, and I want players to have to perform Auth to access Firestore.

I have successfully authenticated using Firebase Auth and obtained the Token.

And I read the official document mentioned.

* ### Authenticating with an access token

* After you obtain either a Firebase ID token or a Google Identity OAuth 2.0 token, pass it to the Cloud Firestore endpoints as an `Authorization` header set to `Bearer {YOUR_TOKEN}`. 

But I can’t find a place where I can enter the header.

Hope you can add.

Thanks.

That is for rest apis, I recommend this article about firestorm rules see 4 and 5 https://khreniak.medium.com/cloud-firestore-security-rules-basics-fac6b6bea18e

1 Like

Thank you.

Now I use RestApi to update and set the verified doc, and use the Firestore plugin to read and
CheckRealTime. The two work well together. :hearts: