Reputation: 69
how to add bearer token to header get collection data using Angular firebase ?
Upvotes: 0
Views: 135
Reputation: 599571
There is no way to pass custom headers to calls made with the Firestore SDK.
If you're using Firebase Authentication, the Firebase SDKs take care of passing the authenticated user with their calls. So details about the currently signed-in user should already be passed to Firestore.
Upvotes: 1