Custom Privy Auth Integration in Convex
i’m running into an issue with my convex setup using privy for authentication and could use some guidance.
i’m currently using both ConvexAuthProvider and a custom privy implementation with ConvexProviderWithAuth in my react app. shawn pointed out that these two won’t work together out of the box, and i need to create a custom auth provider for privy.
does anyone have any example that i can refer to? im unsure what to implement in the custom auth provider.
thank you.
2 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!
This thread isn't specifically about auth, but a lot of code from someone that implemented Privy with Convex is scattered through the thread. Here's their provider, but I recommend perusing the entire thread: https://discord.com/channels/1019350475847499849/1417168284003860646/1417177817338347611