You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a newbie with Next-Auth so I might be missing something really simple here, but anyway, here it goes. What I'm trying to do is to Authenticate with Discord.
The default provider gives the name, the email and the avatar, (which I do need!), but I need to get extra info like the connections and store them in the DB (I'm using Mongo by the way).
In the scopes I set "email identify connections" so the error is not in the scopes. I tried the following code, without any success:
I thought that adding in the return the connections part, it would pick it, but that doesn't seem to be the case. I tried searching similar issues or questions here and while I found one, I didn't get it to work. If anyone could help, I'd be very grateful.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone.
I'm a newbie with Next-Auth so I might be missing something really simple here, but anyway, here it goes. What I'm trying to do is to Authenticate with Discord.
The default provider gives the name, the email and the avatar, (which I do need!), but I need to get extra info like the connections and store them in the DB (I'm using Mongo by the way).
In the scopes I set "email identify connections" so the error is not in the scopes. I tried the following code, without any success:
I thought that adding in the return the connections part, it would pick it, but that doesn't seem to be the case. I tried searching similar issues or questions here and while I found one, I didn't get it to work. If anyone could help, I'd be very grateful.
Beta Was this translation helpful? Give feedback.
All reactions