tsteproT
Convex Community3y ago
14 replies
tstepro

Nodejs convex client "setAuth" with clerk example

Hey there, do you guys have an example of using the Nodejs convex client in a react app and using it with clerk?

I'm trying a different approach to calling convex queries (I wanted to use it without using hooks). I setup a convexClient and made my calls. The only problem was setting auth. I saw this https://docs.convex.dev/api/classes/browser.ConvexClient#setauth, but not sure how to set it with clerk.

I'll be tinkering but if you guys have an example, please lmk.
Was this page helpful?