Supported Identity Providers
NetBird integrates with the following identity providers:Auth0
Enterprise-grade authentication platform
Azure AD
Microsoft Azure Active Directory
Okta
Enterprise identity management
Keycloak
Open-source identity and access management
Google Workspace
Google’s enterprise identity platform
JumpCloud
Cloud directory platform
Zitadel
Cloud-native identity management
Authentik
Open-source identity provider
Dex
OpenID Connect identity provider
Configuration Overview
Each identity provider requires specific configuration parameters. The general setup process involves:1
Register NetBird Application
Create an application in your IdP’s admin console and obtain client credentials.
2
Configure Management Server
Add the IdP configuration to your NetBird management server settings.
3
Set Callback URLs
Configure OAuth callback URLs in your IdP to point to your NetBird instance.
4
Test Authentication
Verify users can successfully authenticate through the SSO flow.
Auth0 Configuration
Auth0 integration requires the following configuration:Required Parameters
Example Configuration
Auth0 supports user creation, deletion, and app metadata updates through the Management API.
Azure AD Configuration
Microsoft Azure Active Directory integration parameters:Required Parameters
Example Configuration
Okta Configuration
Okta integration using API tokens:Required Parameters
Example Configuration
Keycloak Configuration
Keycloak open-source IdP integration:Required Parameters
Example Configuration
Google Workspace Configuration
Google Workspace integration using service accounts:Required Parameters
Setup Steps
1
Create Service Account
Create a service account in Google Cloud Console with Directory API access.
2
Enable Domain-Wide Delegation
Enable domain-wide delegation for the service account.
3
Download Key
Download the service account key JSON and base64-encode it.
4
Configure NetBird
Add the configuration to your management server.
Example Configuration
Additional IdP Options
JumpCloud
Cloud directory platform requiring only an API token:Zitadel
Cloud-native identity management:Authentik
Open-source identity provider with username/password authentication:Dex
OpenID Connect provider with gRPC API for user management:Dex uses a gRPC API for managing users in the password database and supports OpenID Connect for authentication.
User Management
Depending on your IdP, NetBird supports various user management operations:Disabling Local Authentication
When using an external IdP, you can disable local email/password authentication:Troubleshooting
Common Issues
Authentication Fails with 401 Error
Authentication Fails with 401 Error
- Verify client credentials are correct
- Check that the token endpoint URL is accessible
- Ensure grant type matches your IdP configuration
- Validate that API tokens haven’t expired
Users Not Syncing
Users Not Syncing
- Confirm the management API has proper permissions
- Check network connectivity to IdP endpoints
- Review management server logs for detailed error messages
- Verify user query filters and scopes
Callback URL Mismatch
Callback URL Mismatch
- Ensure redirect URIs are registered in your IdP
- Check that the callback URL matches exactly (including protocol and port)
- Verify HTTPS is used for production environments
Security Best Practices
1
Use Strong Credentials
Generate strong client secrets and rotate them regularly.
2
Restrict Permissions
Grant only necessary permissions to NetBird service accounts.
3
Enable HTTPS
Always use HTTPS for production IdP endpoints and callbacks.
4
Monitor Access
Enable audit logging in your IdP to track authentication events.
5
Implement MFA
Enable multi-factor authentication in your IdP for enhanced security.
Next Steps
MFA Configuration
Configure multi-factor authentication
Posture Checks
Set up device posture checks