[GH-ISSUE #2415] Switching IdP from Keycloak to Zitadel, errors #5103

Closed
opened 2026-08-05 01:01:23 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @Vandaahl on GitHub (Aug 10, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2415

I have a fully working self hosted Netbird setup behind Traefik, with Keycloak as the identity provider. I want to switch that to Zitadel, so I ran the configuration script for new values in my compose and management files. I did a docker compose down and up command, but it seems Netbird is still expecting Keycloak as the IdP, because there are many errors in the management log like this:

Error: failed retrieving a new idp manager with err: keycloak IdP configuration is incomplete, AdminEndpoint is missing

I can put that AdminEndpoint back in to management.json with the original Keycloak value, but then there is still Keycloak related errors even though there is no more Keycloak configuration present in both my compose file and management.json.

My Zitadel service is running on another subdomain from Keycloak, and the management log does show that it is actually loading the correct endpoints, like this:

2024-08-10T11:05:00Z INFO [context: SYSTEM] management/cmd/management.go:500: loaded OIDC configuration from the provided IDP configuration endpoint: https://zd.my-domain/.well-known/openid-configuration

Is there perhaps a configuration setting that I can use to force Netbird to switch over to the new IdP?

Originally created by @Vandaahl on GitHub (Aug 10, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2415 I have a fully working self hosted Netbird setup behind Traefik, with Keycloak as the identity provider. I want to switch that to Zitadel, so I ran the configuration script for new values in my compose and management files. I did a docker compose down and up command, but it seems Netbird is still expecting Keycloak as the IdP, because there are many errors in the management log like this: **Error: failed retrieving a new idp manager with err: keycloak IdP configuration is incomplete, AdminEndpoint is missing** I can put that AdminEndpoint back in to management.json with the original Keycloak value, but then there is still Keycloak related errors even though there is no more Keycloak configuration present in both my compose file and management.json. My Zitadel service is running on another subdomain from Keycloak, and the management log does show that it is actually loading the correct endpoints, like this: **2024-08-10T11:05:00Z INFO [context: SYSTEM] management/cmd/management.go:500: loaded OIDC configuration from the provided IDP configuration endpoint: https://zd.my-domain/.well-known/openid-configuration** Is there perhaps a configuration setting that I can use to force Netbird to switch over to the new IdP?
saavagebueno added the triage-needed label 2026-08-05 01:01:23 -04:00
Author
Owner

@Vandaahl commented on GitHub (Aug 10, 2024):

My bad, I overlooked the ManagerType key in management.json, its value was still set to "keycloak".

<!-- gh-comment-id:2282185195 --> @Vandaahl commented on GitHub (Aug 10, 2024): My bad, I overlooked the ManagerType key in management.json, its value was still set to "keycloak".
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#5103