Skip to content

Sign-in, users and roles

Editions: the admin sign-in in every edition, Community included; local users and groups in Pro, Business and MSP; single sign-on through OIDC in Pro, Business and MSP; LDAP and Active Directory in Business and MSP.

Sign-in is off until you turn it on: until then, anyone who can reach port 8090 sees everything, and changing anything needs the setup token from Collimo's log. This page turns sign-in on, adds people, and connects your directory.

What Edition
One admin, from ADMIN_PASSWORD Free, in every edition
Local users and groups, managed in the browser Paid: your beta key turns it on
Single sign-on through OIDC or LDAP Paid: your beta key turns it on
The audit log Every edition, once sign-in is on

The roles

Role Can
viewer See every tab and panel
operator Also test notifications, start and end maintenance, Copy now, Take inventory now, and ask the assistant using a model on your network
admin Everything: the license, users and groups, alert thresholds, capacity planning's settings and racks, reserving switch ports, placing a device in a rack on the LAN tab, the audit log, Run setup again, and the assistant's hosted models

While sign-in is off: the setup token

With sign-in off, anyone who can reach Collimo can look, but nothing can be changed without the setup token: not the license, maintenance, notification tests, archive copies, inventories, the assistant or the setup wizard.

  1. In Portainer, open the collimo container's Logs.
  2. Copy the code at the end of the newest line that ends Setup token: …. Each token works once: as soon as one is used, Collimo prints the next, and a restart prints a new one too.
  3. On the dashboard, open Settings → Access, paste it into Setup token and click Use the token.

Settings → Access with sign-in off: the Setup token box and Use the token

That browser now has a setup session, with the admin role, for 24 hours. The top of the page says setup session · admin; end setup ends it. A restart ends every setup session.

Tools, users and groups, and evidence packs still need a real sign-in. Once ADMIN_PASSWORD, OIDC, LDAP or a local user exists, no token is printed and none works: it is never a way back in if you forget the password.

Why not trust my own network?

Behind a reverse proxy every request comes from the proxy, and a forwarded address is whatever the browser says. So Collimo trusts no address, not even its own host. The token proves you can read the container's log, which only whoever runs the stack can.

Turn on sign-in (free)

Add these lines to your settings:

ADMIN_USERNAME=admin
ADMIN_PASSWORD=a-long-password-of-12-or-more
  • ADMIN_USERNAME is optional. It defaults to admin.
  • The password must be at least 12 characters, or Collimo won't start and its log says why. Settings → Stack environment can make one with Make a password.
  • A $ in the password must be written $$.

Then apply them:

  1. Open the collimo stack and find Environment variables.
  2. Add or change the lines. In Advanced mode you can paste several at once.
  3. Click Pull and redeploy.
  1. Open .env in the folder where you cloned collimo-deploy.
  2. Add or change the lines.
  3. Run docker compose up -d in that folder.

Open the dashboard and you'll see the sign-in page. Sign in with the username and password you set.

The Collimo sign-in page, with Username and Password boxes

Settings → Access now shows sign-in on. Changing ADMIN_PASSWORD later signs everyone out. Five wrong passwords within fifteen minutes lock that username from that address for five minutes, so nobody elsewhere can lock you out. Fifty from one address, whatever the usernames, lock that address too.

Settings → Access with the local admin on, and OIDC and LDAP off

Keep the admin password, even with single sign-on

It's the way in that never depends on a license, or on your directory being up.

Local users and groups (paid)

For a team with no directory. Each user has a role of their own, and can be in groups that give a role. A user gets the highest of these.

  1. Sign in as the admin and open Settings → Users and groups.
  2. The first time, it asks for SETTINGS_KEY, which encrypts your users on the volume and in Collimo's archive copies. Click Make a key, add the line to your settings, and redeploy. The setup wizard writes this key for you if you turned sign-in on there.

    Keep a copy of SETTINGS_KEY

    Store it outside the stack, such as in your password manager. A new key can't read what the old one encrypted, so your users would be lost.

  3. Fill in Username (lower case), Full name, Password, 12 or more characters, Own role and Groups, then click Add user.

  4. To give a role through a group, fill in Group name and Gives, then click Add group.

Settings → Users and groups, with the Add user and Add group forms

Changes apply at once, even to someone who's signed in. Disable, or a new password set with Password, signs that user out everywhere. Local users can change their own password under Your password on Settings.

Export settings downloads everything the settings store holds as one encrypted file: users, groups, alert thresholds, capacity planning's settings, racks, reserved ports and rack places. Import settings loads it into another install with the same SETTINGS_KEY.

Single sign-on (paid)

For Entra ID, Google, Okta, Authentik, Keycloak and other OpenID Connect providers.

  1. Set DASHBOARD_URL to the address people use, such as https://collimo.example.com.
  2. At your provider, register Collimo as a web application. The redirect URI is your DASHBOARD_URL plus /auth/oidc/callback: https://collimo.example.com/auth/oidc/callback.
  3. Add these lines with your provider's values:

    OIDC_ISSUER=https://login.microsoftonline.com/<tenant-id>/v2.0
    OIDC_CLIENT_ID=<the application's client ID>
    OIDC_CLIENT_SECRET=<its client secret>
    OIDC_NAME=Microsoft
    OIDC_ROLES=collimo-admins:admin; it-team:operator; @example.com:viewer
    

The sign-in page gets a Sign in with Microsoft button.

  • Groups: Collimo reads them from the groups claim (OIDC_GROUPS_CLAIM changes the name). Some providers send groups only if you add groups to OIDC_SCOPES. Entra ID sends group object IDs once the groups claim is turned on for the app, so put those IDs in OIDC_ROLES.
  • Email and @domain entries count only when the provider marks the address as verified.

People sign in on the same form as the admin, with their directory username and password.

LDAP_URL=ldaps://dc1.corp.example
LDAP_BIND_DN=CN=svc-collimo,OU=Service,DC=corp,DC=example
LDAP_BIND_PASSWORD=<that account's password>
LDAP_BASE_DN=DC=corp,DC=example
LDAP_ROLES=CN=Collimo Admins,OU=Groups,DC=corp,DC=example:admin; CN=Helpdesk,OU=Groups,DC=corp,DC=example:viewer
  • Use ldaps://, or ldap:// with LDAP_STARTTLS=true. Plain ldap:// is refused, because it would send passwords unencrypted.
  • The bind account is a read-only service account that can search for users.
  • Roles come from each user's memberOf. Only direct membership counts: nested groups are not followed.
  • If the directory's certificate comes from your own CA, put that CA's certificate in LDAP_CA_CERT.

The role list. OIDC_ROLES and LDAP_ROLES are entries separated by ;, each one who:role. who is a group (a name, an ID, or for LDAP the group's full DN), an email address, @domain for everyone at that domain, or * for anyone the provider signs in. Someone who matches nothing is refused, so pointing OIDC at Google doesn't let in every Google account.

Settings → Access shows each one, and how many role rules it has. If the trial or license ends, single sign-on stops but the dashboard doesn't open up: the local admin still works, and the sign-in page says why.

The audit log

Every sign-in, failed sign-in and sign-out, and every change to users, groups and settings, with the address it came from. Admins see it under Settings → Audit log, which shows the last 90 days. Download CSV gives the whole log for an auditor; the small CSV and HTML above the table save just the rows shown. It's kept in the archive with outages and alerts, and goes into Collimo's archive copies.

Settings → Audit log with one sign-in entry

If something's wrong

What you see What to do
ADMIN_PASSWORD must be at least 12 characters in the collimo log Use a longer password
OIDC: set DASHBOARD_URL (or OIDC_REDIRECT_URL) in the log Add DASHBOARD_URL
"Your account is valid, but…" after signing in That person matches nothing in OIDC_ROLES or LDAP_ROLES. Add one of their groups, or their address. The collimo log names who it was
"Single sign-on is a paid feature…" on the sign-in page The trial or license has ended. Sign in as the local admin
No Users and groups panel on Settings Sign-in is off, or you're not signed in as an admin
"Local users can't sign in: settings.json…" on the sign-in page The settings store is on the volume but won't open: SETTINGS_KEY is missing, is not the key it was written under, or the file is damaged. Sign-in stays on. Restore the right SETTINGS_KEY, or set ADMIN_PASSWORD and sign in as the local admin

More in Troubleshooting.