Next.js Discord

Discord Forum

Mongo Document Object ID returned as the User's ID :)

Unanswered
Bombay posted this in #help-forum
Open in Discord
BombayOP
Hello, I'm using auth.js, Discord OAuth and mongodb
the user returned has the ID of the Mongo's document ID and not the actual user ID that I should receive from OAuth
How do I avoid this?

1 Reply

BombayOP
ugh i need to user profile() and add .user_id or so to avoid this