0

From what I've read, there seems to be no way to access the cookies in the Request object. I'd rather not use the built-in authentication unless I have to; so would it be possible to somehow create cookies or headers that look like a request that uses google auth to pass my own generated authkey?

Thank anyone and everyone for your help.

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441
  • 2
    Firestore is not a web-only solution. It must work on all client platforms. Therefore, the concept of a "cookie" is not present, because Android and iOS don't have "cookies". What you see in security rules provides a unified interface for all client platforms. If you want to provide per-authenticated-user info, use custom claims with Firebase Authentication, which become available in security rules. – Doug Stevenson Jun 24 '18 at 21:18
  • Sounds like an answer to me Doug! :-) – Frank van Puffelen Jun 24 '18 at 23:03

0 Answers0