Hi, starter works well in dev, but when moving to production, ensuring correct callback in Github, and correct ID and Secret from Github in environment variables on Vercel, I keep getting an error when trying to authenticate.
Deployed site for confirmation here: https://code4rena-browser.vercel.app/
I have standard code base, fresh from git clone, no changes besides environment variables on Vercel.
I get this in the URL after trying to authenticate and after Github authorization: api/auth/signin?error=Callback
Settings in Vercel Environment Variables:
NEXTAUTH_URL=https://code4rena-browser.vercel.app
GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET
NEXTAUTH_SECRET <set correctly using openssl rand -base64 32>
Settings on Github
I have scoured the internet, have seen some talking about this situation with nextauth, but I don't see an explanation or fix...