Null user in convex function when using fetchQuery
Does ctx.auth only works with client components? I'm using clerkjs
Clerkjs middleware
SSR
Convex function
2 Replies
Docs on auth for server rendering: https://docs.convex.dev/client/react/nextjs/server-rendering#server-side-authentication
Next.js Server Rendering | Convex Developer Hub
Next.js automatically renders both Client and Server Components on the server
@erquhart thank you so much