Cookie not set even though Set-Cookie header is present

Hello folks I have a server containerized and hosted on GCP I have a A record at cloudflare that points to the IP at GCP My frontend is an astro app SSR with cloudflare workers hosted on cloudflare pages I have a cname for my development UI on cloudflare pages that points to .pages.dev url On the frontend I make a post request with a standard html form that makes a request to my server using form data This is a login request. The request succeeds and the proper headers are sent back to set the session id in cookies
Content-Length:
0
Content-Type:
text/html
Date:
Mon, 11 Dec 2023 17:17:21 GMT
Location:
https://development.mydomain.com/
Server:
Google Frontend
Set-Cookie:
session_id=fe492865-959b-4366-9494-4a7e8467e6da; Path=/; Max-Age=86400; HttpOnly
Vary:
Origin,Access-Control-Request-Method
X-Cloud-Trace-Context:
8e6e9a3092a38c09e2c258dba1dba51f;o=1
Content-Length:
0
Content-Type:
text/html
Date:
Mon, 11 Dec 2023 17:17:21 GMT
Location:
https://development.mydomain.com/
Server:
Google Frontend
Set-Cookie:
session_id=fe492865-959b-4366-9494-4a7e8467e6da; Path=/; Max-Age=86400; HttpOnly
Vary:
Origin,Access-Control-Request-Method
X-Cloud-Trace-Context:
8e6e9a3092a38c09e2c258dba1dba51f;o=1
I am having trouble figuring out why the cookie is not being set on the UI . Anyone have any ideas about things I should think about This does not seem to be cors related.
0 Replies
No replies yetBe the first to reply to this messageJoin