Cannot add a field "discordId" to my user object.
Hello people,
Sorry for my english.
I'm using the discord social provider to sign into my web application but the discord id is missing. So I want to add and here's what I have :
@/lib/auth.ts
@/db/schemas/auth-schema.ts
The field "discord_id" is now in the db but I don't know how to add the data into the session object (data that I can grab manually). My first thought was using callbacks but none of them does the job.
Thanks for the help!0 Replies