Nishil Faldu
Nishil Faldu3d ago

Convex Email Auth

when using convex-auth is there a way to send more details about the user while authenticating them?
9 Replies
Nishil Faldu
Nishil FalduOP3d ago
its to do with params but how do i access those params in auth.ts or resendOTP.ts?
ballingt
ballingt3d ago
Send more details of the user where?
ballingt
ballingt3d ago
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.
Nishil Faldu
Nishil FalduOP3d ago
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
ballingt
ballingt3d ago
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
Nishil Faldu
Nishil FalduOP3d ago
i checked but i dont really see anything - unless i am missing something here
No description
ballingt
ballingt3d ago
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
Nishil Faldu
Nishil FalduOP3d ago
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 issue
Nishil Faldu
Nishil FalduOP3d ago
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 ...

Did you find this page helpful?