cyremurC
Convex Community16mo ago
2 replies
cyremur

Convex function Auth only

Is there a way to reject convex function calls without Auth token on a Middleware level? I'm hoping to mark a convex function as Auth required in the backend and reject any calls without. Or is the best way to do that to check getUserId === undefined on start of the handler?
Was this page helpful?