Keycloak on NetBird Cloud

You can use Keycloak as your Identity Provider with NetBird, but it will require some additional configuration steps. Keycloak is an open-source Identity and Access Management solution aimed at modern applications and services. It's one of the most popular self-hosted IDP solutions with extensive documentation and community support. Keycloak provides single sign-on, social login, user federation, fine-grained authorization, and supports OpenID Connect, OAuth 2.0, and SAML 2.0 protocols.

  1. You need to create a new client

    • Browse to the clients Administration menu and then click in Create client:

new-client

  1. Create a client with the type OpenID Connect and add any client ID and name for the client:

new-client

  1. Click Next and enable the following options for Capability config:

new-client

  1. Click Next and fill the following fields:

    Valid redirect URIs: https://login.netbird.io/login/callback
    Web origins: +

new-client

  1. Click Save.

  2. Next we need to retrieve the secret for the client, you can get that in the Credentials tab for the client:

new-client

  1. Then, share the following information with the NetBird support team at support@netbird.io:
  • Client ID
  • Keycloak URL
  • Realm
  • Client Secret
  • Email domains for your users