GitHub Enterprise Managed Users
GitHub Enterprise Managed Users is the GitHub Enterprise Cloud option where your identity system owns every user account. This connector uses the enterprise's SCIM API. Owlie syncs managed users, groups and group membership. It can also create, update, disable, enable and delete managed users, and add or remove group members. For a GitHub organization with personal accounts, use the GitHub connector.
Capabilities
| Capability | Supported | Details |
|---|---|---|
| Sync | Yes | Users and groups, plus group membership. |
| Incremental sync | No | Every run is a full sync. |
| Account provisioning | Yes | Users: create, update attributes, disable, enable and revoke. By default, revoking disables the user. |
| Grant writes | Yes | Group membership (member_of). |
| Notifications | No | |
| Custom operations | No |
Authentication
The connector has one authentication method, Bearer token. Owlie sends a token that you create in GitHub with every SCIM request. You own the token and decide when to rotate it.
Get credentials from GitHub
- Sign in to GitHub as the enterprise's setup user.
- Create a personal access token (classic) with the
scim:enterprisescope and copy it. - Note the enterprise slug, the last part of the enterprise's URL.
GitHub describes the token and the API in Provisioning users and groups with SCIM using the REST API.
Connect GitHub Enterprise Managed Users in Owlie
| Field | Required | What to enter |
|---|---|---|
| API host | Yes | api.github.com, the default, or api.<subdomain>.ghe.com for an enterprise on GHE.com. |
| Enterprise slug | Yes | The enterprise's slug, for example acme. |
| User fields | Yes | The user attributes this installation syncs and provisions, each bound to a SCIM path. The defaults suit most installations. |
| Group fields | Yes | The group attributes this installation syncs, each bound to a SCIM path. |
| Filterable attributes | Yes | The SCIM paths the server accepts in filters. The default is userName, externalId, id and displayName. Owlie refuses a lookup on any other path instead of sending it. |
| Bearer token | Yes | The token you copied. Owlie stores it as a secret. |
Owlie calls https://<API host>/scim/v2/enterprises/<enterprise slug>. The connection test lists one user and one group.
The connector runs in Owlie's cloud. If the endpoint is reachable only from your network, turn on Run through gateway in the install form's Execution section. See private-network gateways.
Entities
| Entity | In GitHub | Identifier | Key attributes | Sync | Create | Update | Delete | Grants (as target) |
|---|---|---|---|---|---|---|---|---|
| User | A managed user account. This is the account entity. | id, userName, or externalId | userName, externalId, email, givenName, familyName, displayName, active | Yes | Yes | Yes | Yes | No |
| Group | A SCIM group in the enterprise. | id, displayName, or externalId | displayName, externalId | Yes | No | No | No | member_of |
Owlie shows a user whose active field is false as disabled. By default, Sync matches a user to
an identity by the user's email, or userName when there is no email, against the identity's
email. Change the matching rule on the account's Sync job. See
account matching.
Grant kinds
| Grant kind | In GitHub | Principal → target | Writable | Qualifiers | Passes access through |
|---|---|---|---|---|---|
member_of | A user's membership of a group. | User → Group | Yes | None | Yes: a member holds what the group grants. |
Provisioning behaviour and limits
| Operation | What happens in GitHub |
|---|---|
| Provision | Creates the user. |
| Update attributes | Writes the mapped fields, skipping read-only ones. |
| Disable | Sets the user's active attribute to false. |
| Enable | Sets the user's active attribute to true. |
| Revoke | Removes the user's managed memberships, then disables the user by default. To delete the user instead, change the revoke state in the provisioning profile. |
The default provisioning profile gives a new user the Owlie identity's email as userName and
email, and the identity's first name, last name and display name. externalId takes the Owlie identity's ID. userName is set when the user is created and is not changed afterwards. Change these in
the resource's provisioning profile.
Limits:
- The connector doesn't create, change or delete groups.
- Each Grant add or remove changes one user's membership of one group.
- When the provider rate-limits a request, Owlie reports a temporary error that can be retried.
Troubleshooting
An operation fails with "The connector's credentials were rejected by the provider." The token is wrong, expired or revoked, or it lacks the rights the request needs. Create a new token in GitHub and update Bearer token.
An operation fails with "The provider rate-limited the request." GitHub is throttling requests. Retry the operation later.
Changelog
The GitHub Enterprise Managed Users connector is at version 1. Owlie shows each connector's changelog with the connector in the catalog.