We used to set httpOnly to be false of the xsrf token set by the server so that our javascript can read it and attached it to the request header. However, our security team prohibits any cookie to be httpOnly false.
Our backend only returns json data and does not render any client-side html. Is there an alternative way to include the xsrf token in our request header?
Thanks.