Michael ReaM
Convex Community3y ago
4 replies
Michael Rea

Authenticate actions?

Is it possible / needed to authenticate actions?


const identity = await ctx.auth.getUserIdentity();
console.log("identity", identity);
if (identity === null) {
throw new Error("Unauthenticated call to action");
}


identity is always null here....
Was this page helpful?