[ConvexAuth] settings values of custom users fields, on user creation
Hey, i've been looking through the docs. And would imagine settings some values for the fields i have customized on the schema for users, when the users get created. Would be done in the account callback configuration?
But looking at the API, i've failed to figure out how to use this callback:
I wanna achieve setting some of the custom fields i define when i create a user
4 Replies
existingUserId I believe
GitHub
convex-auth/src/server/types.ts at 90318a4d346523035ed9c75e70cd9965...
Library for built-in auth. Contribute to get-convex/convex-auth development by creating an account on GitHub.
Or profile
Which both are inside args
At first i didn't realize that the accountId was not nessecary, as when the userId is returned they get linked. This is what confused me a bit.
Leaving this here for others in the same situation