Convex Email Auth
when using convex-auth is there a way to send more details about the user while authenticating them?
9 Replies
its to do with params but how do i access those params in
auth.ts
or resendOTP.ts
?Send more details of the user where?
is this example helpful? https://github.com/get-convex/convex-auth/blob/main/test/convex/auth.ts#L40-L62
GitHub
convex-auth/test/convex/auth.ts at main · get-convex/convex-auth
Library for built-in auth. Contribute to get-convex/convex-auth development by creating an account on GitHub.
to the backend i meant (from client side). I did see that example but i am not really using Password for my authentication. I am using email OTP
Email should accept these same parameters
If you have ideas for how the docs coudl be more clear about this lmk, maybe it's another FAQ entry
i checked but i dont really see anything - unless i am missing something here

oh profile isn't a thing? I thought it was
You might open an issue on Convex Auth describing this, or see if there already is one
i did see args.profile on
createOrUpdateUser
- but i couldn't access any of my custom fields from there
i can do that!
would you have a recommendation for a workaround meanwhile?
Okay i managed to just put a loading state and update the user meanwhile. having profile would definitely be nice so i will make that issueissue added: https://github.com/get-convex/convex-auth/issues/166
GitHub
Feature Request: Support custom profile fields in Email OTP provide...
Description When using the Email OTP provider (@convex-dev/auth/providers/Email), there's currently no way to pass additional user profile information during the authentication process, unlike ...