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

Open
opened 2026-08-05 00:44:04 -04:00 by saavagebueno · 0 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:44:04 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#1808