midPoint GitLab and GitHub user provisioning

How to automate developer platform accounts, group and team membership, and repository access removal from midPoint, with the support status of each connector stated up front.

On this page

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 releases

Matching 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 requirements

A 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 pricing

A 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.

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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 attributeGitLab targetGitHub targetDecision your team must make
Correlation identifierUsername or primary email on the user account, matched to a stable HR or directory identifierLogin name or verified email, matched through the same stable identifierWhich attribute is authoritative for matching, and how to handle renamed or duplicate people
User status and lifecycleAccount active, blocked or deleted according to the mapped activation stateAccount suspended or removed according to the mapped activation stateWhether leavers are blocked immediately, deleted, or held for a retention window
Group or namespace membershipGroup membership in GitLab groups and subgroupsOrganization membership and repository permissions set through the connectorWhich midPoint role maps to which top-level group or organization
Access level or roleMember access level assigned per group or projectRepository role such as read, triage, write, maintain or adminThe least privileged level each role receives and who approves elevation
Team membershipSubgroup membership used as the working team boundaryTeam membership inside the organization, which may be limited by connector supportWhether teams are provisioned by midPoint or managed by the platform owners
Repository ownershipProject owner or group owner, which midPoint may not assign directlyRepository owner or admin, which is typically kept outside automated membershipWho owns each repository after a leaver and whether ownership transfer is a manual step
Service and bot accountsProject or group access tokens, kept out of person-based correlationGitHub Apps or machine users, kept out of person-based correlationWhether 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 list

Least 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 docs

Network 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 guide

Separating 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.

SymptomLikely causeFix
Test connection fails for the GitLab or GitHub resourceToken lacks the scopes the connector needs, or the token has expired or was revokedCheck 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 developerCorrelation 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 oneCorrelate 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 assignmentsSomeone added or removed members directly in GitLab or GitHub, and midPoint has not reconciled the change yetDecide 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 midPointAccess was granted manually or by a separate tool, and reconciliation treats unmanaged memberships as drift to correctIdentify 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 responsesLarge initial loads or full reconciliations send many API requests in a short window, and the platform applies rate limitsRun 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 upgradeThe connector bundle does not match the midPoint version, or the platform API changed in a way the connector does not handleConfirm 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 accessThe 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 logicCheck 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.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.