Authentication in Remix Loader with Convex Auth
I'm trying this:
But
currentUser always returns null.Using the
useConvexAuth hook in a component does eventually return isAuthenticated as true so I know the login worked.Here’s my
users.me query:How can I correctly check user authentication in the loader?
Or should I handle this redirect logic in remix + convex auth differently?
Thanks in advance
