lldanL
Convex Community2y ago
5 replies
lldan

getUserIdentity returning null, when you refresh the page

I am using Clerk to authorise users. I use the ctx.auth.getUserIdentity() method to get the user information. Everything is going fine until I decide to refresh the page. If I refresh the page, ctx.auth.getUserIdentity() returns null even though the user is definitely authorised.
Was this page helpful?