convex auth outside of react
Hi! I noticed that Convex Auth currently only has a React client and the official examples are React-based. The Convex App shows a Node.js basic auth example, but there doesn’t seem to be one for standalone Node.
Is there any way to implement Convex Auth in a Node or non-React environment? Or any plans to provide a basic Node example for reference?
3 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
I'd look here, and make my own reusable hooks from it for my external client:
https://labs.convex.dev/auth/api_reference/server
and looking here to "translate" the code into what I want:
https://github.com/get-convex/convex-auth/blob/main/src/react/client.tsx
what are you using out of pure curiosity?
I am using nuxt