cyremur
cyremur4mo ago

Convex Auth discord roles

Hi there! How well does convex Auth match the next Auth implementation? Is it feasible to configure it to put discord roles into profile via oauth similar to this article for next-Auth? https://hwhite.dev/blog/next-auth-discord-roles#setup
Authenticating Users with Next-Auth and Discord Roles
Discover how to set up Next-Auth and Discord to authenticate users with Discord servers and roles.
5 Replies
Convex Bot
Convex Bot4mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Ask in the <#1228095053885476985> channel to get a response from <@1072591948499664996>. - Avoid tagging staff unless specifically instructed. Thank you!
jamalsoueidan
jamalsoueidan4mo ago
Yes Convex Auth enables you to implement the following authentication methods: OAuth - sign in with Github / Google / Apple etc.
jamalsoueidan
jamalsoueidan4mo ago
Convex Auth - Convex Auth
Authentication library for your Convex backend
cyremur
cyremurOP4mo ago
oh yeah, I have discord oauth up and running. I was wondering how to configure it to get extra information
sshader
sshader4mo ago
Check out https://labs.convex.dev/auth/setup/schema#customizing-the-users-table / https://labs.convex.dev/auth/api_reference/server#callbackscreateorupdateuser The createOrUpdateUser callback has as an argument the profile returned by your configured auth provider (discord in this case)
Customizing Schema - Convex Auth
Authentication library for your Convex backend
server - Convex Auth
Authentication library for your Convex backend