My Production build on google cloud run seems to always include localhost in the callbackUrl #2207
Replies: 3 comments
-
I have the same issue |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. I'm using gitlab-ci + serverless and I even logged the env to make sure it's right and it is. But still gave me I didn't have a .env file but I'm setting the env within gitlab so it should be the same. But it's not. I tried to manually create .env file on the pipeline I'm guessing is something with |
Beta Was this translation helpful? Give feedback.
-
same issue. it always includes those weird localhost urls for the first signin. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
im looking for an answer for in the documentations in the existign issue but seemslike nobody is having the same issue as me
my login url will always be like this
https://domain.com/sign-in?callbackUrl=http://localhost:3000https://domain.com/
localhost:3000 is included when the app is on production build
im pretty sure i set the NEXTAUTH_URL to https://domain.com in the env file.
How to reproduce ☕️
Contributing 🙌🏽
It takes a lot of work 🏋🏻♀️ maintaining a library like
next-auth
; any contribution is more than welcome 💚In case you're willing to help answer this question, please let us know here, and we'll reach you 😊 . Otherwise, you can have a look at the issues labelled with
"good first issue"
and pick any of them.Beta Was this translation helpful? Give feedback.
All reactions