bvttercvp
bvttercvp
NNuxt
Created by bvttercvp on 4/14/2025 in #❓・help
Data fetching on SSR using useFetch/useAsyncData does not work on page refresh/reload
I am already using requestFetch and some of the other suggestions are not applicable to mine as it's simply not calling the API in SSR since no logs can be found.
7 replies
NNuxt
Created by bvttercvp on 4/10/2025 in #❓・help
useRequestFetch does not pass cookie when path is not "/" on ssr
If anyone stumbled upon this issue, I have made the refresh in client-side, then call refresh method of useFetch or useAsyncData to retrieve the new token from an httponly cookie.
11 replies
NNuxt
Created by bvttercvp on 4/10/2025 in #❓・help
useRequestFetch does not pass cookie when path is not "/" on ssr
@kapa.ai the provided github and stackoverflow issues are not the same with this. The issue here is that cookies that do not have path=/ are not being sent to the refresh token api.
11 replies