Cookie in response header is not set in browser cookie store

204 Views Asked by At

I'm using the scala play framework and graphql. I'm trying to set the cookie on graphql mutation by following this blog - https://sysgears.com/articles/best-practices-for-processing-http-headers-and-cookies-in-a-scala-graphql-api/ I'm able to see the cookie in the response headers in the browser as well as in postman client, but it is not set in the browser cookie store. Below is the snap of response headers. Am I missing something here ?

enter image description here

Update: Tried on chrome-Version 98.0.4758.102 (Official Build) (64-bit), Firefox 97.0 (64-bit) and Brave Version 1.35.103 Chromium: 98.0.4758.102 (Official Build) (64-bit)

1

There are 1 best solutions below