One Identity Across Your Organisation#
Every organisation on the platform has its own isolated identity realm, created automatically when the organisation is registered. One account in that realm signs you in everywhere the organisation reaches:
| Surface | How you sign in |
|---|---|
| SCO console | Organisation login page (your console URL) |
| Mesh dashboard | Same account, behind single sign-on |
| Mesh device enrolment | Browser single sign-on during netbird up |
| Vault UI and CLI | Sign in with OIDC / bao login -method=oidc |
| OpenShift cluster console | The organisation's identity provider button on the cluster login page |
oc CLI |
oc login --web (browser single sign-on) |
Credentials are scoped to the organisation: an account in one organisation cannot access another, even for the same email address.
The Flow at a Glance#
- Organisation registration creates the realm and the first administrator account — the email used to register.
- Members are added by an administrator (see Managing Users). Each member receives initial credentials.
- First sign-in forces a password change. Until a member completes it, the initial password is the only valid credential; after it, the initial password is dead.
- From then on the same username and password work across every surface in the table above.
Note
Your username is the full email address (for example alice@acmecorp.example.com), not the short name.
Signing In with Your Company Identity Provider#
An administrator can connect your company's own identity provider, such as Okta or Microsoft Entra ID, to the organisation. See How to Connect Your Company Identity Provider. After that:
- The organisation login page asks for your email address first.
- If your email domain belongs to the company identity provider, you go straight to its sign-in page. Otherwise, you see the password field, as before.
- At your first sign-in, the platform creates your organisation account. It has no password and no forced password change: you always sign in through the company identity provider.
- Every surface in the table above uses the same sign-in, so one company sign-in covers the console, the Mesh, Vault and the cluster consoles.
- When your company disables you in its identity provider, you can no longer sign in. Sessions that are already open stay valid until they expire.
Enrolling a Device into the Mesh#
Device enrolment uses the same single sign-on. After creating a Mesh (or if your organisation includes one by default):
netbird up --management-url=<your organisation's management URL>
The exact command — including your organisation's management URL — is shown in the Mesh dashboard under Add Peer. The command opens a browser window for single sign-on and waits for the result on a local callback port. Two things follow from that:
- Leave
netbird uprunning in the foreground until the browser flow completes. If the process stops waiting — because it was interrupted, or because the sign-in took too long (a forced first-login password change can do this) — the browser's final redirect lands on a closed port and shows "localhost refused to connect". The sign-in itself succeeded; simply runnetbird upagain and complete the (now faster) flow. - The browser that opens shares your existing session. If you are already signed in as a different user — common when testing with a second account — the enrolment silently registers the device to that user. Copy the printed URL into a private/incognito window to choose the identity explicitly.
Multiple accounts on one machine#
The NetBird client supports profiles, so you never need to wipe state to switch identities:
netbird profile add alice-work
netbird profile select alice-work
netbird up --management-url=<your organisation's management URL>
Switch back with netbird profile select default (disconnect first with netbird down), and remove test profiles with netbird profile remove <name>.
Signing in to Services over the Mesh#
With a device enrolled, the organisation's published services resolve and authenticate with the same account:
-
Vault — open
https://bao.<organisation>.mesh.<cluster-domain>and use Sign in with OIDC, or from the CLI:export VAULT_ADDR=https://bao.<organisation>.mesh.<cluster-domain> bao login -method=oidc -
Private OpenShift clusters — the cluster console and API are published to Mesh peers. On the console login page, click your organisation's identity provider button (do not type your credentials into the cluster's native username/password prompt — that prompt is for local cluster accounts and your organisation credentials will be rejected there). For the CLI, use
oc login --web, which runs the same browser flow.
Tip
If a cluster's login page shows no identity provider button at all, the cluster cannot reach your organisation's identity realm — contact your platform administrator rather than retrying credentials.
Reaching kcp over the Mesh#
kcp is the endpoint behind your project kubeconfig (the host in its server URL). It is published to Mesh peers, so you can use kubectl against your projects without any other VPN. Who may reach it is set in the access list of the Organization claim, which an organisation administrator manages:
spec:
parameters:
access:
- role: viewer
groups:
- developers
- role: admin
groups:
- platform-admins
How the flow works, and where it goes wrong:
- Only groups count. Every group named in
accessis allowed to reachkcpover the Mesh, whatever its role. Entries listed underusersget their organisation role but no Mesh access: put those users in a group. Members of the organisation administrators group are always allowed. - The group must exist. Create it first with an IAM Group claim. If none of the groups in
accessexists, the Mesh rule is not created and nobody except the administrators can connect. If at least one exists, the missing groups are silently left out, so a typo in a group name gives no error, just no access for that group. - A group member list is read in order. A member whose username cannot be found can stop the rest of the list from being applied. Use the full email address as the username, and add new members at the end of the list.
- Group membership is read at sign-in. The device receives its groups from the sign-in token when it enrols or signs in again. Adding a user to a group does not change a device that is already signed in; run
netbird login --extend(or sign out and in again) to get a fresh token.netbird downfollowed bynetbird upreuses the existing session and does not refresh it. -
Check that
kcpis reachable through the Mesh. Thekcphost name from your kubeconfig is resolved by the Mesh. Verify before blamingkubectl:curl -s -o /dev/null -w '%{http_code}\n' https://<kcp host>/readyz200means the path works.pingis not a valid test: the Mesh rule allowstcp/443only.
Warning
Another VPN that uses the 100.64.0.0/10 range, such as Tailscale, overlaps the Mesh address range. While it is connected, replies from Mesh peers are dropped and kcp appears unreachable. Disconnect it while you test.
Troubleshooting#
| Symptom | Likely cause | Fix |
|---|---|---|
| localhost refused to connect after device-enrolment sign-in | The netbird up process was no longer waiting on its callback port |
Run netbird up again and complete the browser flow while it waits |
| Device enrolled as the wrong user | The browser reused an existing session | Re-enrol using the printed URL in a private window |
| Incorrect username or password on a cluster console | Credentials typed into the cluster's native prompt instead of the organisation's identity provider button | Use the identity provider button; native prompts are for local cluster accounts |
| Initial password rejected | It was already consumed by the forced first-login change | Use the password set at first login, or ask an administrator to reset |
kcp unreachable over the Mesh for a user who is in a group listed in access |
The device signed in before the user was added to the group, so its token has no such group | Run netbird login --extend, then retry |
kcp unreachable for everyone except administrators |
None of the groups in access exists, or the group is listed under users instead of groups |
Create the group with an IAM Group claim and list it under groups |
| Group members are missing after adding a new user | A username earlier in the list was not found, so later entries were not applied | Use full email addresses and add new members last; check the group claim status |
kcp times out only while another VPN is on |
The other VPN uses an address range that overlaps the Mesh range | Disconnect the other VPN while using the Mesh |