Why is nextauth unable to get my NEXTAUTH_URL from .env? #4872
Unanswered
nicolasguasca1
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
I keep getting the NEXTAUTH_URL warning eventhough Im not on a deployment (Im in local dev server) and the value is set up on my .env file. Also, after trying to get the resource (api/auth/[...netxauth].ts I get the redirect_uri mismatch error that comes from github eventhough I have the exact same value on NEXTAUTH_URL and in my Github app Callback url field.
How to reproduce ☕️
[...nextauth].ts file:
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions