Next Auth Defaults to localhost:3000 even when ENV var is present #4595
Unanswered
ocbrollingpaper
asked this question in
Help
Replies: 1 comment
-
Ok so if I run docker image in dev environment it loads env variables, but not on yarn start, quite odd |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I don't know what's happening.
I am using nextjs in K8s and passing the proxy with Nginx ingress controller.
Env variable for nextauth_url is set to the domain name but callbackUrl still shows as localhost.
Does anybody know any kind of workaround? I saw several issues/discussions but nobody seems to be fixed it.
And lastly, using vercel/amplify is a no go
Beta Was this translation helpful? Give feedback.
All reactions