I’m able to configure next-auth with a github login correctly on local.
When I go to
localhost:3000/api/auth/signin I see the “Sign in with Github” button.
When I deploy to render and try in production I get a 404 | This page could not be found.
[next-auth][error][client_fetch_error] in the browser console, which points me to the environment variable NEXTAUTH_URL not being correctly set. I’ve set this env variable along with NEXT_PUBLIC_NEXTAUTH_URL.