Docs
Live demo

Connect an identity provider

Sync users and groups from GitLab, GitHub, Google Workspace or LDAP so access follows group membership.

On this page

Before you start: Admin role and read-only provider credentials (Supported providers).

Swipe the screenshot sideways to see all of it, or tap it to open it full size.

Create connector: pick the provider, fill in the connection, test it and pick the groups. This screenshot comes from an earlier version of the design: it shows three providers, while the console also offers LDAP, and its sections differ.
  1. Open Connectors, click Create, choose Create connector.
  2. Enter Name and pick GitLab, Google Workspace, GitHub or LDAP.
  3. Under Connection, enter address and credentials (GitHub Enterprise: /api/v3, self-managed GitLab CA: Advanced settings, CA certificate).
  4. Under Test & discover, click Test connection & discover groups.
  5. Pick groups (see table), then test again.
  6. Optionally set Sync interval under Schedule (default 15 minutes).
  7. Click Create, then Run first sync.

Sync shows Sync completed with counts, and members join People. Connectors sync only: console SSO lives in Dex.

Groups by provider#

Provider How to choose Default if empty
GitLab, GitHub
Group filters: tick or add paths (acme, acme/*).
All visible groups or teams.
Google Workspace
Groups: pick or add emails (required).
Not allowed.
LDAP
List groups.
All under group base DN.

Through the API#

  1. Test: POST /connectors/test (omit spec.groups to discover)
  2. Create: POST /connectors (GET /connectors/types lists fields). Omitting "enabled": true pauses it (409 connector.paused on sync):
    json
    {"name": "GitLab", "type": "gitlab", "enabled": true,
     "spec": {"base_url": "https://gitlab.example.com", "groups": ["platform"]},
     "credentials": {"token": "<gitlab token>"}}
  3. Sync: POST /connectors/{id}/sync, check GET /connectors/{id}/sync-runs
↑ ↓ to moveEnter to openEsc to close