Mansoor
Mansoor12mo ago

How to use clerk login using our database collection users

How to use clerk login using our database collection users
8 Replies
erquhart
erquhart12mo ago
Storing Users in the Convex Database | Convex Developer Hub
You might want to have a centralized place that stores information about the
erquhart
erquhart12mo ago
(The examples in the guide use Clerk)
Mansoor
MansoorOP12mo ago
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,
erquhart
erquhart12mo ago
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
Michal Srb
Michal Srb12mo ago
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.
Mansoor
MansoorOP12mo ago
what about lucia ?
ballingt
ballingt12mo ago
What is your question about Lucia, did you see https://www.convex.dev/templates/lucia-auth-demo ?
Mansoor
MansoorOP12mo ago
Thank you ! ill check lucia

Did you find this page helpful?