Leg94L
Convex Community2y ago
20 replies
Leg94

Hey! Wondering if anyone has had a

Hey! Wondering if anyone has had a similar issue to what I'm experiencing.

I've setup a next js application with convex and clerk. All nice and simple. Implemented the login and authenticated pages/middleware absolutely fine.

Now this is where I'm confused, when I try and read the auth inside the functions like the example stays my indentity is always null and the function throws an error. However, if I remove the if check and just log out the identity it is what's expected.
Was this page helpful?