I am using next-auth for my website. Right after I click the button to sign in I am directed to: http://localhost:3000/api/auth/signin/auth0 instead of my websiteURL/api/auth/signin/auth0. Within my code the NEXTAUTH_URL is set to “https://< my website > .herokuapp.com” without the quotations.
I am not sure why the localhost:3000 is showing up. None of the settings in my Auth0 dashboard are set for localhost and I can’t figure out why I am being directed there after clicking “Sign in with Auth0” . Is it likely that this is a default setting somewhere in nextauth?
Any help is appreciated. Thank you.