I think there is an issue with how the AuthProvider
is setup, it seems as if the connection to PocketBase is there but not all the neccessary data.
I think I have figured out what is causing the bug, it's because of how the AuthProvider is setup. I need to access the AuthProvider via the
_middleware.ts
Fixed in v0.5.0. It had to do with
useContext
. I noticed I could use the server state to store the neccessary data and did that instead.