-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] NEXTAUTH_URL is missing/not set in Docker image #2880
Comments
I'm not sure where it's falling apart, but I think it has something to do with Node and how it's pulling from the environment. I can shell into my container, and |
I've just noticed a couple things in my logs for the web app that may be related.
The doc page in the logs says that there needs to be a I tested my login again, and this time the redirect URL is set properly in the error message. ConclusionIt seems as though the container's CMD line, or Node itself, needs to set |
Looks like this was resolved in 271ea89, closing |
Issue Summary
The Azure AD OAuth mechanism sends what looks like a hardcoded localhost address as the redirect URI when trying to sign in. However, I am not hosted at localhost and need it to redirect to the WEBAPP_URL that I specified in the Docker Compose yml.
Steps to Reproduce
WEBAPP_URL
variable does not work)Error Text:
Expected behavior
The redirect URL mentioned in the error message uses my defined
WEBAPP_URL
Other information
I am not sure yet if localhost is hardcoded in the Azure mechanism, or if the Docker setup just isn't using this variable at all for anything. I will try to take a look through the repo and report back which it might be.
Screenshots
No response
Environment
Desktop (please complete the following information)
NixOS 24.05 (Uakari)
v24.0.9
sha256:111d8546c3c74ec84e66faf8905bae0bfc5c618b5104998cd678411c797d9bef
The text was updated successfully, but these errors were encountered: