siingersS
Convex Community2y ago
6 replies
siingers

Clerk Webhook for User Creation - is this really suitable?

The docs recommend using a web to store user data from clerk into a Users table in Convex.
Not entirely sure this is a suitable method as webhooks are considered brittle, and so if we have to implement a fallback of sorts, should this really be the recommended option for external auth? Perhaps the docs could recommend using the Clerk User object and a mutation (or even better, build a convex-helper function). https://clerk.com/docs/references/javascript/user/user

Would like to know your thoughts.
The User object holds all the information for a user of your application and provides a set of methods to manage their account. Users have a unique authentication identifier which might be their email address, phone number or a username.
JavaScript: User object
Was this page helpful?