SSR and Cookies
Got a question referring to HttpOnly cookies from authentication ( set by backend ) and sending requests via SSR
I don't want mistmatches in hydration, so I want the server to be able to send requests with "credentials: include" however I don't believe the server has access to these cookies?
Anyone have best practice or a good solution to u se AsyncData and have cookies get sent?
So far have this which works but seems hacky af
1 Reply
useCookie is u sed on the server whilst client just uses credentials