RJR
Convex Community3y ago
4 replies
RJ

Some Convex Clerk authentication questions

1. In the "Calling storeUser from React" section of the "Storing Users in the Convex Database" page (https://docs.convex.dev/auth/database-auth#calling-storeuser-from-react), what is the userId useState used for? Removing it entirely seems to work just fine.
2. I'm observing that the storeUser mutation located here (https://docs.convex.dev/auth/database-auth#storeuser-mutation) is not causing the
name
field to be set for the two accounts that I've tested this with. I'm not familiar at all with what's going on under the hood with this auth stuff, but is it possible that this is a Convex bug?
Was this page helpful?