.ReSync
.ReSync
Explore posts from servers
TTCTheo's Typesafe Cult
Created by .ReSync on 5/8/2023 in #questions
Trouble getting additional information passed back on the useSession sessionData
I am new to these techs and trying to get a first project working. I am using the Discord auth. I have logged the user.id on the sessionData from useSession but it does not match the discord id of the user. I enabled debugging and can see that the 'OAUTH_CALLBACK_RESPONSE' contains a profile property with the id I am looking for inside of it. I have poked around docs and found a few tutorials on how to add additional attributes to the session but no luck. Can anyone point me in the right direction?
4 replies