Qumru
Qumru

Reputation: 69

how to add bearer token to header get collection data using Angular firebase?

how to add bearer token to header get collection data using Angular firebase ?

enter image description here

Upvotes: 0

Views: 135

Answers (1)

Frank van Puffelen
Frank van Puffelen

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

Related Questions