Retrieve Authenticate User ConvexAuth
I got some issue to retrieve the logged In user. or when I console.log(isAuthenticated) I got true
5 Replies
I don't understand your question yet, what is wrong?
Hi Tom I tried to follow the convex auth integration on nextjs and I want to dispaly the email of the current user (the authentitcated one but I got null for the console.log of the Found user and I got true when the I console log is Authenticated
huh, what convex auth version? You might try cloning the next example in convex auth to see if you can get that working, then compare
try storing user token inside user table, you will be able to retrive user via token from identity
you also don't need createdAt, convex automatically creates that property _createdAt
I succed thx @tom @Yash