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.
-
You need to create a new client
- Browse to the clients Administration menu and then click in Create client:

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

- Click Next and enable the following options for Capability config:

-
Click Next and fill the following fields:
Valid redirect URIs:
https://login.netbird.io/login/callback
Web origins:+

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

- 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
We recommend using a secure channel to share the Client’s secret. You can send a separate email and use a secret sharing service like:
https://onetimesecret.com/en/
https://password.link/en

