How midPoint provisions GitLab and GitHub access
Developer access is often granted by hand, outlives the engineer who needed it, and is hard to answer for when an auditor asks who could push to a production repository. midPoint can provision GitLab through the Evolveum-maintained GitLab connector, which the Evolveum catalog lists as supportable, and GitHub through the Openstandia GitHub connector, which carries community status. The two connectors are not equal in support terms, and that difference should shape how each is scoped and who answers for it.
midPoint reaches target systems through the ConnId connector framework. A ConnId connector translates midPoint's generic create, update, delete and search operations into the native API of one system, so midPoint's resource definitions, mappings and reconciliation logic stay the same across targets. For developer platforms, the model has three layers that teams often blur together: the account (the user identity inside GitLab or GitHub), groups or organizations that hold users, and the membership or role a user holds inside a specific project or team. Each layer is provisioned, changed and removed differently, so the resource design should decide up front which of them midPoint owns and which remain under project administrators.
Offboarding is the reason most teams start this work. A leaver whose HR record is closed in midPoint should lose account access, group memberships and repository roles in one governed action rather than through a manual checklist. Confirm with the connector documentation which operations each connector supports for your GitLab or GitHub edition, and decide before go-live whether removed memberships are deleted, disabled or flagged for review.
What you need before connecting GitLab and GitHub to midPoint
Connecting developer platforms to midPoint depends on decisions made before any connector is configured. The cards below cover the midPoint release, its Java runtime, the GitLab tier, the GitHub credential owner, network paths and a safe test target.
A supported midPoint release
Pick the release line first, because it sets the connector versions and the upgrade path you will inherit. midPoint 4.8 (Curie) is a long-term support release supported until 17 October 2028, while 4.10 (Braille) is a feature release supported until 26 November 2027. Midpoint 4.9 support ends 18 October 2026, so do not start a new build on it. midPoint 4.11 (Čapek) is planned for 21 October 2026. Confirm the GitLab and GitHub connector versions in the connector catalog for your chosen release before you plan the build.
midPoint releasesMatching Java runtime
midPoint recommends Java 25 for version 4.11 and later, with Java 21 supported. For 4.10 and older, Java 21 is recommended and Java 17 is supported. Check the runtime against the release you selected, since mismatches are a common cause of failed startups after an upgrade. Ask your platform team whether the JDK is managed by a patch process you already run.
midPoint system requirementsA GitLab edition and tier
Decide whether you need GitLab Free, Premium or Ultimate before you design the provisioning model, because group roles, SAML group sync and compliance features vary by tier. All three tiers are available for self-managed installations. Confirm with GitLab which group and membership features your tier exposes through its API, since the midPoint connector only manages what the API allows.
GitLab pricingA GitHub owner who can issue a credential
The GitHub connector needs a credential issued by someone with owner rights in the organization, and that person should be a named role holder rather than an individual engineer. Document who owns the token, how it is rotated and where it is stored, since midPoint will use it for every membership change. Confirm which token type the community connector supports before you request one.
Network paths to each platform
midPoint must reach the GitLab instance or API endpoint and the GitHub API from the server or node that runs provisioning tasks. Map egress rules, proxies and firewall approvals for each system, and confirm whether your GitLab is reachable only inside an air-gapped or private network. In multi-node deployments, check that every node that can run tasks has the same route.
A sandbox group and test accounts
Create a non-production GitLab group and a test GitHub organization or team before you connect production targets. Use dedicated test identities so that a failed reconciliation cannot remove real developers from repositories. Keep the sandbox on a separate instance where possible, and confirm that offboarding tests delete or disable only the test accounts you created.
Choosing between the GitLab connector and the GitHub connector
The GitLab connector is maintained by Evolveum and carries supportable status in the Evolveum connector catalog. That status matters for procurement and operations: when a provisioning defect affects joiner, mover or leaver processing, you are working with the same vendor that maintains midPoint itself, and the support route runs through Evolveum's subscription model. Confirm with Evolveum which connector version, midPoint release and GitLab edition your scope covers before you rely on that status.
- Support route: Product Support subscriptions cover resolving product bugs, with an 8x5 next-business-day or 24x7 SLA. Ask Evolveum which SLA applies to connector defects.
- Roadmap influence: Platform Subscriptions add feature development and roadmap influence, which matters if you need new GitLab mappings such as group or project roles.
- Version alignment: Check the connector against your midPoint release, such as 4.8 (Curie) for long-term support or 4.10 (Braille) for a feature release.
- Target edition: Confirm which GitLab tier you run. Free, Premium and Ultimate expose different group and compliance features, which changes what the connector can usefully manage.
- Upgrade cadence: Plan GitLab upgrades separately, because GitLab requires passage through upgrade stops and the connector must match each step.
Before you commit, confirm in writing the supported GitLab versions, the attributes the connector manages and who owns the test evidence for each upgrade.
The GitHub connector is maintained by Openstandia and carries community status in the Evolveum catalog. Community status means it is not covered by Evolveum's product support route, so defects, compatibility fixes and upgrade testing depend on the community project and on your own test effort. It can still be the right fit, but only when your organization accepts that risk in writing and has a plan to verify the connector before each change.
- Support expectations: Assume no vendor SLA for connector defects. Decide who triages a failed provisioning run and who escalates it.
- Testing burden: Run the connector against a non-production GitHub organization before each midPoint or GitHub change, and keep the results as evidence.
- Access model risk: Test how team and repository membership changes behave for offboarding, since a wrong removal can strand work or leave access in place.
- Alternatives: Where the risk is not acceptable, consider a custom connector built with ConnId, a scripted process with a manual resource, or a supported path for an identity provider that feeds GitHub.
- Acceptance record: Document the risk owner, the review date and the compensating controls in your governance records.
Before you rely on it, confirm the current connector version, the GitHub deployment model you use and the test scope you will run each release.
A single midPoint deployment can run the GitLab connector and the GitHub connector side by side, because each resource is configured separately and manages its own target system. This is common where a company hosts source control on GitLab for internal projects and uses GitHub for open-source or partner work. The design question is ownership: each resource needs its own support path, test cycle and offboarding rule, so one connector's risk does not hide inside the other's support status.
- Separate resources: Model each platform as its own resource with its own account and group mappings, so a fault in one does not block the other.
- Shared identity source: Drive both from the same HR-linked identity and role model, so joiner and leaver outcomes match across platforms.
- Different owners: Assign support ownership per resource, with the GitLab resource tied to the subscription and the GitHub resource tied to your test process.
- Consistent offboarding: Verify that a leaver is removed from both platforms within the same governed run, and record the result.
- Reporting: Keep one evidence pack per platform so auditors can trace access in each system.
Before you combine them, confirm that your midPoint release supports both connectors and that your team can test both on every upgrade.
How midPoint reaches GitLab and GitHub
The flow starts at the HR or identity source, which feeds midPoint through its repository and task scheduler. midPoint then calls the GitLab connector, a Evolveum-maintained connector with supportable status, or the community GitHub connector, using a service account credential held outside the midPoint configuration. The dashed boundary marks where traffic leaves your network for SaaS or self-managed platform endpoints. Check which side of that boundary each platform sits on and where the credential is stored.
Data and credential paths from the HR source to GitLab and GitHub across the network boundary.
Setting up the GitLab and GitHub resources in order
This sequence takes midPoint from an empty connector configuration to a verified GitLab or GitHub resource that imports existing access, provisions a test user and only then runs reconciliation. Each step closes with a check, so problems surface while changes are still reversible.
Create a dedicated service identity
Your platform administrator creates a separate service account on each platform that midPoint will manage, such as a bot user on GitLab or a GitHub App or machine account on GitHub. Grant it only the group or organization rights needed to read and manage the memberships in scope, and do not reuse a personal administrator account. Confirm the rights by listing the groups or teams it can see and by checking that it cannot reach unrelated organization settings. The step is done when the account's permissions are written down and reviewed by the team that owns the platform.
Store the credential where midPoint can read it
Generate the access token or key for the service identity and place it in your secret store or in a protected configuration location that the midPoint service account can read. Keep it out of exported resource XML, version control and ticket attachments, and set a token expiry and rotation date that your team records. Confirm that the midPoint host can read the secret and that the token authenticates with a direct API call from that host. The step is done when a plain API request with the token returns the expected group list.
Install and confirm the connector bundle
Install the GitLab connector bundle, which is the Evolveum-maintained connector with supportable status, or the community GitHub connector maintained by Openstandia, into midPoint's connector directory and restart the service. Check the connector list in the midPoint administration interface and record the bundle name and version. Confirm the version is compatible with your midPoint release before going further. The step is done when both expected connector types appear in the connector list with the versions you recorded.
Define the resource with a test scope
Create the resource object with the platform URL, the credential reference and a narrow scope, such as one test group or one test organization, so that early runs cannot touch production memberships. Set the object classes you intend to manage and leave outbound provisioning disabled for now. Ask the platform owner to confirm the endpoint is the self-managed or SaaS address you intend to use. The step is done when the resource saves without validation errors and its scope is visible in the configuration.
Run the test connection
In the resource view, run the test connection and read the result for authentication, endpoint reachability and capability detection. If it fails, check the credential, the token scope and network routes from the midPoint host before changing the resource. Repeat the test until it reports success and record the timestamp and result. The step is done when the test connection returns success and the same token still authenticates from the midPoint host.
Import existing accounts and groups read-only
Run an import task in read-only mode so midPoint reads accounts and groups without changing them. Compare the number of users, groups and memberships in midPoint with the counts shown on the platform for the test scope, and sample a handful of accounts to confirm names, emails and group memberships match. Investigate any gap before continuing, since unmatched accounts are the usual source of later surprises. The step is done when the imported counts match the platform for the test scope and the sampled records are correct.
Map attributes and group membership
Define the attribute mappings that link midPoint identities to platform usernames, email addresses and group or team memberships, and set the correlation rule that matches an existing platform account to a midPoint user. Review the mappings with the platform owner, paying particular attention to how membership is added and removed. Run a simulation or dry run against the test scope and check that each planned change matches the expected role. The step is done when the dry run lists only the changes you expect and the correlation matches every test account once.
Run a single-user provisioning test
Choose one test identity, assign it to a test group in midPoint and let provisioning create or add the platform membership. Verify the change on the platform, then remove the assignment and confirm the membership is removed and the account is handled as your policy states. Keep the test identity and the test group documented so the test can be repeated after upgrades. The step is done when both the grant and the revocation appear correctly on the platform and in the midPoint audit trail.
Enable reconciliation
Once the single-user test passes, enable scheduled reconciliation for the test scope first, and confirm that its first run reports no unexpected changes. Widen the scope in stages, repeating the read-only import check at each stage, and only then enable the production scope. Record the schedule and the owner who reviews reconciliation results. The step is done when a scheduled reconciliation run completes on the test scope with a result the owner has reviewed and accepted.
How accounts, groups and team membership map to midPoint
This table compares how a midPoint object or attribute lands on the GitLab and GitHub side, and which decision your team must settle for each one. Read it before writing the connector configuration, because most provisioning defects start with a mismatched identifier or an unclear owner for a group or repository. Confirm each attribute name in the connector documentation for the midPoint version you run.
| midPoint object or attribute | GitLab target | GitHub target | Decision your team must make |
|---|---|---|---|
| Correlation identifier | Username or primary email on the user account, matched to a stable HR or directory identifier | Login name or verified email, matched through the same stable identifier | Which attribute is authoritative for matching, and how to handle renamed or duplicate people |
| User status and lifecycle | Account active, blocked or deleted according to the mapped activation state | Account suspended or removed according to the mapped activation state | Whether leavers are blocked immediately, deleted, or held for a retention window |
| Group or namespace membership | Group membership in GitLab groups and subgroups | Organization membership and repository permissions set through the connector | Which midPoint role maps to which top-level group or organization |
| Access level or role | Member access level assigned per group or project | Repository role such as read, triage, write, maintain or admin | The least privileged level each role receives and who approves elevation |
| Team membership | Subgroup membership used as the working team boundary | Team membership inside the organization, which may be limited by connector support | Whether teams are provisioned by midPoint or managed by the platform owners |
| Repository ownership | Project owner or group owner, which midPoint may not assign directly | Repository owner or admin, which is typically kept outside automated membership | Who owns each repository after a leaver and whether ownership transfer is a manual step |
| Service and bot accounts | Project or group access tokens, kept out of person-based correlation | GitHub Apps or machine users, kept out of person-based correlation | Whether these accounts are managed by midPoint at all or documented as exceptions |
Group membership and offboarding repository access
Offboarding a developer is not finished when midPoint disables the account. The leaver sequence must remove access on the GitLab or GitHub side in a defined order: first hand over ownership of anything the leaver controls, then remove direct and group memberships, then revoke tokens, SSH keys and deploy keys, and only then disable or delete the identity. A disabled account can still be the sole owner of a repository, the admin of a group, or the holder of a personal access token that continues to work until it expires. Confirm with your platform team how each of these is handled on your installed version before you write the midPoint mapping, because the order determines whether the leaver can still change code during the window.
Work through the ownership inventory first. Personal namespaces are the most common gap: repositories created under a user's own namespace do not transfer automatically when that user leaves, so they need to be moved into a group namespace or reassigned to a named maintainer before deprovisioning runs. Repositories with a single owner are the same problem in a different form, and shared service accounts need a named human owner, a documented rotation procedure and a rule that no individual's credentials are used for automation. Decide in advance who approves each reassignment, because midPoint cannot infer business ownership from the platform alone. Groups and teams that grant access to many repositories should be reviewed as well, since removing a leaver from a group that owns a project can have wider effects than removing them from a single project.
Test the outcome on the platform, not only in midPoint. An offboarding test should use a dedicated test account, run the full leaver process, and then sign in with that account's previous tokens and check repository, group and team visibility directly in GitLab or GitHub, including API calls and pending invitations. midPoint showing the assignment as removed proves only that the provisioning request was sent. Record the platform state in the test evidence, repeat the test after each connector or upgrade change, and ask the connector maintainer or your integrator to confirm which operations the connector performs on your version.
Securing the GitLab and GitHub integration
The midPoint connector for GitLab or GitHub holds powerful rights over source code and group membership, so its credential, permissions and logs need the same care as an administrator account. The cards below cover the controls that connect the midPoint side to the developer platform side, and each one links back to the wider midPoint security hardening work.
Service credential lifecycle
Create a dedicated service account or token for midPoint, never a personal token. Record its scope, owner and expiry date, store it in a secrets manager rather than in midPoint configuration files, and rotate it on a schedule your security team sets. Confirm how the connector reads the token and whether a rotation requires a restart of midPoint resources. Document who can view the secret inside midPoint's own administration interface.
Connector listLeast privilege for the service identity
Grant the service identity only the group and membership rights that midPoint actually manages, at the lowest group level that works. Avoid instance-wide administrator rights on GitLab and organization owner rights on GitHub unless a documented operation requires them. Test each permission against a sandbox group before production, and review the list again whenever the connector or your role model changes.
Administrator accounts outside midPoint
Keep platform administrator accounts out of midPoint's provisioning scope. If midPoint can create, change or remove the accounts that administer GitLab or GitHub, a compromised midPoint session could lock out your own operators or grant itself more rights. Exclude these accounts from correlation and from any role that midPoint assigns, and keep their break-glass credentials in a separate vault.
Change logging on both sides
Turn on audit logging in midPoint for every resource change, and separately review the GitLab audit events or GitHub organization audit log for the same actions. Compare the two streams during reconciliation so that a change made in the platform interface, outside midPoint, is visible. Confirm how long each log is retained and where it is forwarded, since the midPoint and platform retention settings are set independently.
GitLab auth docsNetwork paths and TLS for self-managed GitLab
For a self-managed GitLab instance, midPoint must reach the API over an encrypted channel that your certificate authority trusts. Decide which network segment the midPoint server sits in, restrict inbound access to the API port, and verify the certificate chain from the midPoint host, not from a laptop. Plan for offline or air-gapped operation if your GitLab estate runs that way, since the connector still needs a reachable endpoint.
GitLab hardening guideSeparating test and production resources
Point a non-production midPoint environment at a separate GitLab group or GitHub organization, with its own service credential and no shared secrets. Test joiner, mover and leaver flows there before enabling them against production. Keep the test resource's configuration exported from the same source as production so that differences are reviewed, not discovered after a failed run. Confirm with your vendor how a test platform instance is licensed and supported.
Common GitLab and GitHub provisioning failures and fixes
This table maps common midPoint failures for GitLab and GitHub provisioning to their likely causes and fixes. Before troubleshooting, check the connector version against your midPoint release, since a connector mismatch can cause errors that look like credential or data problems. Most failures trace back to credential scope, correlation rules or changes made outside midPoint.
| Symptom | Likely cause | Fix |
|---|---|---|
| Test connection fails for the GitLab or GitHub resource | Token lacks the scopes the connector needs, or the token has expired or was revoked | Check the connector version against your midPoint release first. Then issue a token with the required scopes for a dedicated service account, record its expiry date and rotate it through your secrets process |
| Duplicate accounts appear for the same developer | Correlation matches on a weak attribute such as display name or a non-unique email, so a new account is created instead of linking to the existing one | Correlate on a stable, unique identifier that both sides hold, such as the verified work email or an HR employee ID. Review the correlation rule and link existing accounts before the next reconciliation run |
| Team or group membership differs from the midPoint role assignments | Someone added or removed members directly in GitLab or GitHub, and midPoint has not reconciled the change yet | Decide whether the platform change or the midPoint assignment is correct. Then run a reconciliation or a targeted resource import, and agree with platform owners that membership changes go through midPoint |
| Reconciliation removes repository or group access that was granted outside midPoint | Access was granted manually or by a separate tool, and reconciliation treats unmanaged memberships as drift to correct | Identify those memberships and bring them under midPoint as assignments or documented exceptions. Confirm the reconciliation and removal settings with your own configuration before enabling them on production |
| Bulk runs slow down or fail partway through with throttling responses | Large initial loads or full reconciliations send many API requests in a short window, and the platform applies rate limits | Run first loads in batches, schedule full reconciliations outside working hours and keep incremental sync for daily changes. Check the current API rate limits for your GitLab or GitHub plan in the vendor documentation |
| Operations fail or attributes are ignored after a midPoint or platform upgrade | The connector bundle does not match the midPoint version, or the platform API changed in a way the connector does not handle | Confirm the connector version supports both the target midPoint release and the platform version. Test in a non-production environment with a copy of the resource configuration before upgrading production |
| Offboarded users keep repository or team access | The leaver event disabled the midPoint account but the resource action failed, or the access came from a group that was not part of the removal logic | Check the task and resource error log for the leaver. Confirm that group and team memberships are removed as part of deprovisioning, and re-run the action for the affected accounts |
Questions buyers ask before automating GitLab and GitHub access
What drives the cost and effort of automating GitLab and GitHub access with midPoint?
The main cost drivers are the number of identity sources and roles you need to map, the number of GitLab groups and projects that carry access, and how many exceptions your current process allows. Licensing is a separate line item: GitLab Free costs 0 dollars, while the GitLab pricing page lists Premium at 29 US dollars per user per month billed annually, and Ultimate is custom priced. Ask any partner to separate one-time build work (connector setup, mappings, testing, offboarding rules) from recurring work (upgrades, connector maintenance, access reviews) and to show how each line is priced against a written scope.
Can our own team build GitLab and GitHub provisioning without outside help?
Yes, if your team has midPoint, Java and identity administration skills and time to test in a non-production environment. The harder parts are correlating accounts to people, designing group and team membership that matches your role model, and proving that offboarding removes repository access without breaking shared automation. Evolveum's connector documentation and the midPoint project are public, so the question is capacity and experience rather than access to information. Many teams bring in a partner for the first build and keep the skills in-house afterward.
How long does a GitLab and GitHub provisioning project usually take?
Duration depends on the number of target instances, the complexity of group and team structures, the quality of HR or directory data feeding midPoint, and whether GitHub organizations need custom handling. Ask for a written timeline tied to a fixed scope, with a named test phase and a cutover window. Plan for at least one round of testing against a copy of your real group structure, because most delays come from naming inconsistencies and orphaned accounts discovered late. DeployOpen agrees timelines in writing before work starts.
Is the GitHub connector for midPoint supported by Evolveum?
No. The Evolveum connector catalog lists a GitLab connector maintained by Evolveum as supportable, while the GitHub connector is maintained by Openstandia with community status. Community status means you should not assume the same vendor support path, so confirm the connector version, your support expectations and who fixes defects before committing to it. Evolveum offers Product Support subscriptions for product bugs with an 8x5 next-business-day or 24x7 SLA, and you should confirm with Evolveum whether that coverage extends to a given connector.
Which GitLab tier do we need for the features we expect?
Start from the features you need, not the tier names. Basic user, group and project membership sync works with the tiers the GitLab pricing page describes for self-managed installations, but Premium adds advanced CI/CD and priority support, and Ultimate adds application security testing, software supply chain security, vulnerability management and compliance features. If your requirements include SAML group sync, audit-ready reporting or security scanning, confirm the exact tier for each in GitLab's authentication documentation before buying. Ask your vendor to list each expected feature against the tier that includes it.
How do midPoint upgrades and GitLab upgrades interact?
They are separate release trains, so plan them separately but test them together. midPoint 4.8 is a long-term support release supported until 17 October 2028, 4.10 is supported until 26 November 2027, and 4.9 support ends 18 October 2026. GitLab ships a major release yearly, a minor release on the third Thursday of each month, and requires upgrades to pass through required upgrade stops such as 19.5 and 19.8. A GitLab upgrade can change API or group behavior that the connector depends on, so retest provisioning after each GitLab stop and schedule midPoint upgrades to avoid the same window.
What does the work need from our staff?
You will need a named owner for the role model and group naming, a directory or HR contact who can confirm joiner, mover and leaver data, a GitLab administrator to create service accounts and review the group structure, and a GitHub organization owner for the community connector setup. Security or compliance staff should approve the access rules and the offboarding evidence. Ask any partner for a written list of client-side tasks with owners and dates, since missing approvals are a common reason for delay.
How DeployOpen scopes and delivers midPoint GitLab and GitHub provisioning
DeployOpen approaches midPoint GitLab and GitHub user provisioning as a fixed-scope piece of identity governance inside your own infrastructure. We agree the connectors, group and team mappings, offboarding rules and test plan in writing before work starts, then build and document them in your environment.
How we scope
- Confirm which GitLab edition and tier your organization runs, since connector behavior depends on your deployment.
- Map which groups, projects and teams are granted by role, and which are granted by direct request.
- Agree the written scope, including whether GitHub is in scope as a community connector and who owns its support.
- Identify the offboarding rules for repositories, forks and personal access tokens before any account changes are automated.
How we build
- Install and configure the GitLab connector in midPoint on a test environment that mirrors your production setup.
- Build resource mappings for users, groups and team membership, with correlation rules tied to your authoritative identity source.
- Test joiner, mover and leaver cases, including a dry run that shows what would change before any live account is touched.
- Set up a safety threshold and reconciliation schedule so unexpected bulk removals are held for review.
How we hand over
- Deliver the connector configuration, mapping documentation and runbook as files your team keeps in its own repository.
- Walk your platform and security engineers through the test results, known limitations and how to read midPoint task logs.
- Record which connector versions and midPoint release line the build was validated against, so upgrades are planned.
- Document the rollback steps for each change so your team can reverse a failed provisioning run.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Upgrade planning covers GitLab upgrade stops and midPoint release support windows, both of which affect the connector.
- Ask us to confirm the support status of each connector before it is relied on in a subscription or audit scope.
- Retesting after platform upgrades is scoped separately so changes to access behavior are verified before go-live.

