How to use clerk login using our database collection users
How to use clerk login using our database collection users
8 Replies
There's a guide for this: https://docs.convex.dev/auth/database-auth
Storing Users in the Convex Database | Convex Developer Hub
You might want to have a centralized place that stores information about the
(The examples in the guide use Clerk)
I have fields like -> nickname, userFullName, phone, state, city, password, others-> i want to store this in user collection, on signup, and login wiith nickname and password -> how to do with clerk or any custom way , using nextjs and convex,
They're available in the user identity object: https://docs.convex.dev/auth/functions-auth#user-identity-fields
Auth in Functions | Convex Developer Hub
Within a Convex function, you can access information
You can also use a webhook, check out https://www.convex.dev/templates/clerk
Templates
The backend application platform with everything you need to build your product.
what about lucia ?
Thank you ! ill check lucia