0

There's a strange behavior happening on Firebase when I try to make requests containing cookies from the frontend to the backend (different domains).

This only happens when deployed on firebase. I'm debugging on my side, but I don't understand by the cookie isn't attached to the request in production, but is attached in dev mode: Running on firebase

Running locally

EDIT: Thanks to @FrankVanPuffelen's comment, I've implemented the necessary mechanisms. But the problem still persists, because for some reason the domain name differs from environment to environment.

These are my cookies when I run it locally: And here when I run it remotely, the domain differs between requests, I wonder if it matters...:

Fares
  • 893
  • 1
  • 11
  • 24

0 Answers0