Cookies Not Sent With Request For Web App Manifest.json
Solution 1:
According to the https://developers.google.com/web/fundamentals/web-app-/
The request for the is made without any credentials (even if it's on the same domain), thus if the requires credentials, you must include crossorigin="use-credentials" in the tag.
So adding <link href="/.json" crossorigin="use-credentials">
for both cross domain as adding server cookies in the request for the
Solution 2:
There seems to be an old a bug in chromium, should have been fixed through all these years. Perhaps you can try using ajax/fetch
the "/content/site-x/.json" with requestHeader "Content-type: application/json"
and then create a Blob from it and subsequently call createObjectURL(Blob) and give this url to href?
And then also, there is this:
<link href="/.json" crossorigin="use-credentials">
which I guess in your case would not help since you are on the same origin.
Post a Comment for "Cookies Not Sent With Request For Web App Manifest.json"