Using NextAuth with Discod provider and prisma adapter returns error #5092
Unanswered
MonkeeMan1
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all.
Recently I have started getting an error when trying to login to my webapp with prisma adapter and discord provider nextauth.
Whats strange is that everything was working just fine up until around 4-5 hours ago when I first ran into this problem on my dev environment. I have searched the entirety of the web and only one person had the same issue as me. However, the next day they commented saying somehow they had fixed it and they are unsure how.
I am not sure what I else I can do to find the issue.
Upon commenting out
adapter: PrismaAdapter(prisma),
and console loggingùser
in mycallback
, user is undefined.I am getting no other errors in my console other than the one seen above. I have restarted my database, computer, cleared all values in the database as well as resetting my discord credentials. Nothing has resolved the issue.
I'm completely unsure about what else I can do to debug this, any help would be very much appreciated.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions