Is it possible to automatically sync auth identity without webhooks
Is it possible to automatically sync auth identity without webhooks for Clerk? Like listen for some events on Auth Identity changes or are webhooks the only option?
4 Replies
You can sync from the client: https://docs.convex.dev/auth/database-auth
Storing Users in the Convex Database | Convex Developer Hub
You might want to store user information directly in your Convex database, for
This doesn't auto-delete the user from the database right?
It does not. If you don't use the
UserButton
from Clerk the user will not have a way to delete their account, unless you implement it in your UI, at which point you can implement the user deletion as well.
Or you can use UserButton
from Clerk and implement their webhooks.Yes, I use the UserProfile from Clerk.