[GH-ISSUE #1074] Fix Keycloak deployment with IDP #1715

Closed
opened 2026-08-05 00:43:40 -04:00 by saavagebueno · 3 comments
Owner

Originally created by @emferrandi on GitHub (Aug 10, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1074

Describe the problem
In the documentation, you don't mention the variable TokenEndpoint for IdpManagerConfig.
This variable is set up in management.json configuration.
Do you have to correct the script and the documentation or the script

I saw the correct configuration in this issue : https://github.com/netbirdio/netbird/issues/475

To Reproduce
Steps to reproduce the behavior:

  1. Follow this documentation on step 9 when setup.env is to be completed : https://docs.netbird.io/selfhosted/identity-providers#keycloak
  2. Run the script configure.sh : https://docs.netbird.io/selfhosted/selfhosted-guide#step-4-disable-single-account-mode-optional
  3. See the result in the setup.env

Expected behavior

    "IdpManagerConfig": {
        "ManagerType": "keycloak",
        "ClientConfig": {
            "Issuer": "null",
            "TokenEndpoint": "https://sso.***/realms/netbird/protocol/openid-connect/token",
            "ClientID": "netbird-backend",
            "ClientSecret": "SecretKey",
            "GrantType": "client_credentials"
        },
        "ExtraConfig": {
            "AdminEndpoint": "https://sso.***/admin/realms/netbird"
        }
     },

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Run netbird with Keycloak

Originally created by @emferrandi on GitHub (Aug 10, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1074 **Describe the problem** In the documentation, you don't mention the variable TokenEndpoint for IdpManagerConfig. This variable is set up in management.json configuration. Do you have to correct the script and the documentation or the script I saw the correct configuration in this issue : https://github.com/netbirdio/netbird/issues/475 **To Reproduce** Steps to reproduce the behavior: 1. Follow this documentation on step 9 when setup.env is to be completed : https://docs.netbird.io/selfhosted/identity-providers#keycloak 2. Run the script configure.sh : https://docs.netbird.io/selfhosted/selfhosted-guide#step-4-disable-single-account-mode-optional 3. See the result in the setup.env **Expected behavior** ``` "IdpManagerConfig": { "ManagerType": "keycloak", "ClientConfig": { "Issuer": "null", "TokenEndpoint": "https://sso.***/realms/netbird/protocol/openid-connect/token", "ClientID": "netbird-backend", "ClientSecret": "SecretKey", "GrantType": "client_credentials" }, "ExtraConfig": { "AdminEndpoint": "https://sso.***/admin/realms/netbird" } }, ``` **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Run netbird with Keycloak
saavagebueno added the bugdocumentationwaiting-feedbackidpconfig-idp labels 2026-08-05 00:43:40 -04:00
Author
Owner

@nazarewk commented on GitHub (Apr 17, 2025):

@emferrandi can you confirm whether this is still an issue for you?

<!-- gh-comment-id:2813330545 --> @nazarewk commented on GitHub (Apr 17, 2025): @emferrandi can you confirm whether this is still an issue for you?
Author
Owner

@SpiralCut commented on GitHub (May 16, 2025):

Not OP but I can confirm this happened on an new install as of May 16, 2025 and adding the lines resolved a failed to add new provider due to missing AdminEndpoint error in the logs.

<!-- gh-comment-id:2886864825 --> @SpiralCut commented on GitHub (May 16, 2025): Not OP but I can confirm this happened on an new install as of May 16, 2025 and adding the lines resolved a failed to add new provider due to missing AdminEndpoint error in the logs.
Author
Owner

@jnfrati commented on GitHub (Apr 7, 2026):

Probably this is still an issue with the old IdpManagerConfig but with the new embedded IdP this shouldn't be a problem anymore as configuration has been simplified.
Closing for now but if there's any other action items regarding this feel free to re-open!

<!-- gh-comment-id:4199804363 --> @jnfrati commented on GitHub (Apr 7, 2026): Probably this is still an issue with the old IdpManagerConfig but with the new embedded IdP this shouldn't be a problem anymore as configuration has been simplified. Closing for now but if there's any other action items regarding this feel free to re-open!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#1715