Next Auth Discord Callback error...

I really can't see what i/m doing wrong here. I've added `https://hciav.vercel.app/ to my NEXTAUTH_URL and NEXTAUTH_SECRET as a hashed string to my vercel environment variables. but i'm having no luck with this. the localhost:3000 implementation works fine Can anyone help?
18 Replies
Son
SonOP3y ago
https://hciav.vercel.app/api/auth/signin?error=Callback
Son
SonOP3y ago
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Son
SonOP3y ago
Yes
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Son
SonOP3y ago
I take a look at that No errors in my log, i don’t see log about environment variables being injected though?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan
dan3y ago
most likely the next auth secret is not set.
Son
SonOP3y ago
the next auth secret is just a random string we generate right?
dan
dan3y ago
yep it’s weird how there is no logs.
Son
SonOP2y ago
in the build logs it says nothing about loading in environment labels, is that standard?
dan
dan2y ago
I don’t think it mentions it
Son
SonOP2y ago
yeah, it doesn't, wow I'm literally completely blocked. if my local host implementation works, what else could it really be? Have you had any success?
Son
SonOP2y ago
my app setup
Son
SonOP2y ago
found the issue, its to do with my database, i get this error on planet scale... @dan.
Son
SonOP2y ago
fixed the issue, you have to connect to your production DB locally and push the scheme to it.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
basedgoat
basedgoat10mo ago
ohhh
Want results from more Discord servers?
Add your server