Normal cookies are JS-accessible, but HTTP-only cookies should not be: "A cookie with the HttpOnly attribute is inaccessible to the JavaScript Document.cookie API; it is sent only to the server."
Re:SPAs Are Dead?
by leipert on Wednesday April 07, 2021 @03:22PM
(#26729743)
Ah thanks! This is new to me. That is indeed a concern, but probably can be worked around, e.g. by proxying requests to third party domains through the same Domain.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#re...