1

Have a firebase app (server side React) that receives a http only cookie from a firebase functions Rest API as part of the response. This works fine on localhost but when i publish to firebase hosting no cookie is received. I'm thinking its either because the FB hosting is https or it is CORS related that the cookie is not being set. Insight and how to fix would be helpful. Cheers

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
JGC
  • 73
  • 6
  • Hi @JGC, please check this [thread](https://stackoverflow.com/questions/44929653/firebase-cloud-function-wont-store-cookie-named-other-than-session) and see if it helps. Thank you. – Marc Anthony B Dec 13 '21 at 07:14
  • Yes the thread did answer the question. Looks like firebase hosting strips all but session cookies. Thanks – JGC Dec 20 '21 at 19:45

0 Answers0