Unable to configure Netbird using Shibboleth as IdP: redirect to /auth results in 404 #2085

Closed
opened 2025-11-20 06:12:31 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @uedvt359 on GitHub (Jul 18, 2025).

I'm trying to setup netbird, using our existing Shibboleth IdP. It appears to mostly work: opening netbird.company.com redirects me to idp.company.com, where I log in, and am successfully redirected back to netbird.company.com/auth?code=.... However, this page is served as 404 and shows the following error:

Image

This page then tries to do further REST calls to the IDP, which are rejected.

Please help me understand what I am doing wrong. I can't see anything in the logs of either the management or dashboard containers. Can I increase the verbosity of login attempts for debugging?

my setup.env looks like this: I tried adding the commented out values as well, but these did not have any effect.

NETBIRD_DOMAIN="netbird.company.com"
NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT="https://idp.company.com/.well-known/openid-configuration"
NETBIRD_DASH_AUTH_USE_AUDIENCE=false
NETBIRD_AUTH_CLIENT_ID="netbird"
NETBIRD_USE_AUTH0="false"
NETBIRD_AUTH_DEVICE_AUTH_PROVIDER="none"
NETBIRD_LETSENCRYPT_EMAIL="..."
NETBIRD_AUTH_SUPPORTED_SCOPES="openid offline_access"
NETBIRD_AUTH_DEVICE_AUTH_SCOPE="openid"
NETBIRD_AUTH_DEVICE_AUTH_USE_ID_TOKEN=false
#NETBIRD_IDP_MGMT_CLIENT_SECRET="..."
NETBIRD_AUTH_CLIENT_SECRET="..."
NETBIRD_AUTH_REDIRECT_URI="/auth"
#NETBIRD_MGMT_IDP_SIGNKEY_REFRESH=true
#NETBIRD_AUTH_SILENT_REDIRECT_URI="/silent-auth"

We installed netbird using the provided containers, tag latest as of two days ago.

Originally created by @uedvt359 on GitHub (Jul 18, 2025). I'm trying to setup netbird, using our existing Shibboleth IdP. It appears to mostly work: opening `netbird.company.com` redirects me to `idp.company.com`, where I log in, and am successfully redirected back to `netbird.company.com/auth?code=...`. However, this page is served as 404 and shows the following error: <img width="439" height="298" alt="Image" src="https://github.com/user-attachments/assets/f6e59ea9-45b2-4666-aa76-b4969ec4fe7b" /> This page then tries to do further REST calls to the IDP, which are rejected. Please help me understand what I am doing wrong. I can't see anything in the logs of either the management or dashboard containers. Can I increase the verbosity of login attempts for debugging? my setup.env looks like this: I tried adding the commented out values as well, but these did not have any effect. ``` NETBIRD_DOMAIN="netbird.company.com" NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT="https://idp.company.com/.well-known/openid-configuration" NETBIRD_DASH_AUTH_USE_AUDIENCE=false NETBIRD_AUTH_CLIENT_ID="netbird" NETBIRD_USE_AUTH0="false" NETBIRD_AUTH_DEVICE_AUTH_PROVIDER="none" NETBIRD_LETSENCRYPT_EMAIL="..." NETBIRD_AUTH_SUPPORTED_SCOPES="openid offline_access" NETBIRD_AUTH_DEVICE_AUTH_SCOPE="openid" NETBIRD_AUTH_DEVICE_AUTH_USE_ID_TOKEN=false #NETBIRD_IDP_MGMT_CLIENT_SECRET="..." NETBIRD_AUTH_CLIENT_SECRET="..." NETBIRD_AUTH_REDIRECT_URI="/auth" #NETBIRD_MGMT_IDP_SIGNKEY_REFRESH=true #NETBIRD_AUTH_SILENT_REDIRECT_URI="/silent-auth" ``` We installed netbird using the provided containers, tag `latest` as of two days ago.
saavagebueno added the idptriage-neededself-hosting labels 2025-11-20 06:12:31 -05:00
Author
Owner

@uedvt359 commented on GitHub (Jul 25, 2025):

This has been solved by our IdP team. I don't know the details of what they changed, sorry for anyone else reading this in the future.

This aside, the /auth endpoint is still served with a 404 status code, even though the login now succeeds.

@uedvt359 commented on GitHub (Jul 25, 2025): This has been solved by our IdP team. I don't know the details of what they changed, sorry for anyone else reading this in the future. **This aside, the /auth endpoint is still served with a 404 status code, even though the login now succeeds.**
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2085