Guessing there is no way to prefetch when using app-memory accessTokens
My access token is within app memory (zustand), and all of my routes are protected by an auth guard meaning you need an access token. Prefetch calls the API server side correct? So if you're using an app memory access token, you can't access any sort of context within getServerSideProps, so there is no way to prefetch server side?
1 Reply
wise-white•3y ago
I'm having trouble understanding the question.
prefetchQuery is called from the frontend so you should have access to the token there?