TJ3046
[SOLVED] Accessing HttpOnly Cookies during Prerendering
When using a Blazor Web app (WASM) with server-side prerendering, the page initially loads on the server and then on the client. During the prerendering phase, I can send a request to my API to retrieve some data that is authenticated using an access token that was stored in the cookie. But the HttpContext does not seem to have any cookies during prerendering. How can I access the cookies in this situation?
27 replies