Can you, using fetch or by some other means send request with HttpOnly cookie to server in React ?
I know HttpOnly means you can't access it with JS. I'm thinking maybe you can't read it but you can send it back? I don't know.
I want this:
- Request to server is made from client (ReactJS SPA)
- Server responds and sets HttpOnly Cookie.
- Client gets response, cookie is automatically set by browser.
With new request to that same server I want to send back that cookie. is this possible using ReactJS ? or maybe there are some ways to bypass that, like maybe opening new window, with simple HTML, not ReactDOM ?
Thanks for your help.