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
https://hciav.vercel.app/api/auth/signin?error=Callback
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I take a look at that
No errors in my log, i don’t see log about environment variables being injected though?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
most likely the next auth secret is not set.
the next auth secret is just a random string we generate right?
yep
it’s weird how there is no logs.
in the build logs it says nothing about loading in environment labels, is that standard?
I don’t think it mentions it
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?
my app setup
found the issue, its to do with my database, i get this error on planet scale...
@dan.
fixed the issue, you have to connect to your production DB locally and push the scheme to it.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ohhh