Skip to content

NetBird first login

Goal: NetBird signs users in through Authentik and GitHub. About 5 minutes, in the NetBird UI.

NetBird runs an embedded Dex. On a fresh deploy no external identity provider is connected, so the first login uses the local admin.

  1. Open https://netbird.madhan.app and sign in as admin@madhan.app with NB_OWNER_PASSWORD from SOPS.

  2. Go to Settings → Identity Providers → Add → Authentik and enter:

    FieldValue
    Client IDaumenijDycfG1cQURqH9BNJpV3KVUCoMHGPUVUlT
    Client SecretNETBIRD_CLIENT_SECRET from SOPS
    Issuerhttps://auth.madhan.app/application/o/netbird/
  3. Save. The redirect URI shown must be https://netbird.madhan.app/oauth2/callback, the one authentik.go registers.

In a private window, open https://netbird.madhan.app, choose Login with Authentik, and confirm the GitHub button appears and signs you in.

Details: NetBird.