I am developing a javascript embeddable chat widget that can be deployed on the customer's site. I am trying to make API calls (using XMLhttp configured withCredentials true) from my Iframe widget to the backend to get some data and set cookies (JWT), I get 200 responses and see the set cookie in headers but not able to see it in the console application.
res.cookie("__jlcw", "token", {path:'/', sameSite: "none", secure: true });
Could someone help me with this? Am I missing something?