Authentik on NetBird Cloud

You can use Authentik as your Identity Provider with NetBird, but it will require some additional configuration steps. Authentik is an open-source identity provider focused on flexibility and security. It serves as a self-hosted alternative to commercial solutions like Okta and Auth0, providing single sign-on (SSO), multi-factor authentication (MFA), access policies, user management, and support for SAML and OIDC protocols.

  1. You need to create a new Application and Provider.
    • Browse to the Applications Administration menu, click on Application, and then click on Create with Provider:

create-with-provider

  • Name the Application and select a suitable explicit user flow. In the example below, we used NetBird:

new-application

  • Click Next and select the OAuth2/OpenID Provider Type:

new-application

  • Click Next and select an explicit user authorization flow, then take note of the Client ID and Client Secret:

new-application

  • Add the following redirect URL and select a signing key:
    URL: https://login.netbird.io/login/callback

new-application

  • Click on Advanced protocol settings and ensure that the email, opened, and profile scopes are selected and that Based on the User’s Hash ID is selected for Subject mode:

new-application

  • Click Next on the following two screens and Submit to create the provider and application:

new-application

  • You should see an application listed as follow:

list-applications

  1. We need to copy the OpenID Configuration URL for the new provider. You can do that by navigating to Providers in the left menu and then selecting the newly created provider. There you should see a windows similar to the following:

list-providers

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