[AUTH/OIDC] - Issues with the NextAuth URL/Port #7022
DescriptionI am running Homepage as a TrueNAS App and was setting up the OIDC authentication (PocketID). I am using Nginx Proxy Manager to handle accessing the webpage. I have set the I am running it on a different port (30054) and looking in the logs I was seeing that it was failing a loopback call to the port 3000 (default port). I tried to set Digging around I see that NextAuth supports an environment variable I unset the I see in the code that that this Line should be setting the value, so I am not sure why it is not being set on my side homepage versionv2.0.0 Installation methodOther (please describe above) ConfigurationEnvironment Variables
HOMEPAGE_AUTH_ENABLED = true
HOMEPAGE_EXTERNAL_URL = https://homepage.xxx.xxx
HOMEPAGE_OIDC_CLIENT_SECRET = XXXXXX
HOMEPAGE_OIDC_CLIENT_ID=XXXXX
HOMEPAGE_OIDC_ISSUER = https://pocketid.xxxx.xxx
HOMEPAGE_AUTH_SECRET = XXXXX
LOG_LEVEL = debug
TrueNAS Settings
Port Bind Mode = Exposed for inter-container
Port = 30054
DNS Namesever = Set to RouterContainer LogsBrowser LogsNo response TroubleshootingI checked the logs and have output the required information configuration and issues. |
Replies: 3 comments 3 replies
|
I think this is a somewhat sneaky issue when the port is non-default (and not in docker), I think I have an idea how to handle this, thanks. |
|
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
|
I can confirm that this is fixed in 2.1.0 for my TrueNAS App/Docker Setup. Thanks for the quick turn around on it! |
This should be fixed in our next release which I will release soon. If youre able to test that now it would be helpful