Hey @chilly sleet, check out the docs https://docs.convex.dev/client/react/nextjs/
You can follow the clerk or auth0 quickstart to set them up for Next.js 14
3 messages · Page 1 of 1 (latest)
Hey @chilly sleet, check out the docs https://docs.convex.dev/client/react/nextjs/
You can follow the clerk or auth0 quickstart to set them up for Next.js 14
what was the question ? i have a issue with nextjs 14 on my production build
in dev mode evertyhing in working great but in production ( vercel + clerk ) there is a weird behavior, everything on the client side is working ( useConvexAuth from convex/react, useSignIn from clerkjs/nextjs ) but in the nextjs middleware i'm not logged in, so every private route is redirected to home page
afterAuth(auth, req, evt) from the authmiddleware return a empty object for the auth arg