I'd like to avoid storing authentication tokens in places like localStorage which aren't encrypted-at-rest and which are vulnerable to exfilteration in the event of XSS / malicious browser extensions / etc.
I believe I can read and write the Cookies header from an HTTP Action in Convex -- is that correct? If so, I could write a HTTP action which saves the token as a HTTP-Only cookie, protecting it from many of these situations.
However, is that HTTP-Only cookie going to be available in subsequent query and mutation calls made through the Convex client?
My understanding is that Cookies are sent normally in the initial HTTP upgrade request for establishing a Websocket, but are they saved and made available to my handler functions?