MaxM
Convex Community3mo ago
3 replies
Max

How do you guys manage auth with NextJS?

Hi, I’m currently dealing with an issue where auth is very inconsistent. I have every complement that calls a convex function inside a <Authenticated> component, but often the requests will fail since on the server side I am checking auth with getUserIdentity, and it seems like the JWT isn’t being passed on. I’m using WorkOS.

Have you guys dealt with similar issues where auth seems to fail inconsistently?
Was this page helpful?