Zitadel vs Authelia for GitLab SSO: which fits your instance
Zitadel fits when you need a documented OIDC route for self-managed GitLab, or a SAML route for GitLab.com groups on the Premium tier. Authelia fits when a community-supported OpenID Connect guide suits your team and you can run Authelia over HTTPS on the tested versions, which were Authelia v4.38.0 and GitLab CE v16.9.0. The general Zitadel vs Authelia comparison has its own page and is not repeated here. For one GitLab instance that needs a single identity provider, three factors usually decide the choice: the GitLab tier, the deployment model, and whether SCIM provisioning is required.
Start with your tier, since it sets the available route. On self-managed GitLab, SAML SSO is listed for the Free, Premium and Ultimate tiers, and OpenID Connect sign-in is listed for the same three tiers, so the OIDC route is not limited by tier. On GitLab.com, group SAML SSO requires Premium or Ultimate, and Zitadel's GitLab SaaS guide says the same, so confirm your group's plan before you choose that path. Deployment model matters most for the OIDC route. GitLab requires the OpenID provider to use HTTPS, and Authelia only works for sites served over HTTPS because its session cookies depend on it. Authelia's GitLab OpenID Connect guide is community-supported, and the project says such guides are not guaranteed to be complete, accurate or up to date, so test it against your exact GitLab and Authelia versions before adopting it.
SCIM is the factor most likely to change the answer. Zitadel documents a SCIM v2 interface for provisioning users into Zitadel, but its GitLab guides do not describe pushing users out to GitLab, so do not assume that a user disabled in Zitadel is disabled in GitLab. GitLab describes SCIM provisioning for GitLab.com groups, which is a separate path from the self-managed SAML and OIDC sign-in covered above. Authelia's GitLab guide is about sign-in, so ask Authelia directly whether it provisions or deprovisions GitLab accounts. Before you commit, write down who must be able to disable a leaver's GitLab account, then test that step with a disabled user in your identity provider and confirm the result in your own environment, not from the guide alone.
Which GitLab SSO options need which GitLab tier
GitLab sets its SSO options by tier and by deployment type: self-managed instances and GitLab.com groups are documented separately, and the tier you hold decides which ones you can turn on. The four cards below cover the options that bear on a Zitadel or Authelia choice. Check each against the GitLab version and deployment you run before you plan the identity provider.
SAML SSO for self-managed GitLab
Free, Premium and Ultimate tiers include SAML SSO for GitLab Self-Managed. Zitadel's documented SAML guide for GitLab is written for GitLab SaaS, so treat a self-managed SAML setup with Zitadel as something to verify before you plan around it. Ask the vendor for the attribute mapping, certificate handling and the GitLab version it was tested against, then run a sign-in test with a non-admin account on your own deployment.
GitLab SAML docsSAML SSO for GitLab.com groups
GitLab documents SAML SSO for GitLab.com groups on the Premium and Ultimate tiers. Zitadel's GitLab SAML guide says this setup needs Premium and is configured under the group's Settings, then SAML SSO. Confirm your group's tier before you start, since Free is not in the documented list for this option. Then check the Zitadel application type, the attribute names and the certificate steps against the current GitLab group documentation, because group-level screens change between releases and the guide may lag them.
Zitadel GitLab SAML guideOIDC sign-in for self-managed GitLab
GitLab lists OpenID Connect sign-in for GitLab Self-Managed on the Free, Premium and Ultimate tiers. Zitadel's self-hosted guide uses the OmniAuth openid_connect provider with the redirect URI https://<gitlab>/users/auth/openid_connect/callback. GitLab's OIDC page requires HTTPS for the OpenID provider, so the Zitadel or Authelia endpoint must be served over HTTPS. Authelia's community guide was tested with v4.38.0 and GitLab CE v16.9.0, and Authelia warns that community guides may be incomplete or out of date, so confirm both versions against your own.
SCIM provisioning for GitLab.com groups
GitLab's docs describe SCIM provisioning for GitLab.com groups, which lets an identity provider manage group membership in GitLab. Zitadel documents a SCIM v2 interface for provisioning users into Zitadel, but its guides do not describe pushing users out to applications, so no documented push to GitLab exists for Zitadel. The Authelia GitLab guide covers OpenID Connect sign-in only. Confirm the GitLab tier that includes SCIM for your group, and ask both vendors whether they can send user changes to GitLab and how deprovisioning works.
GitLab group SSO docsZitadel vs Authelia for GitLab SSO, aspect by aspect
This table compares Zitadel and Authelia as the identity provider for GitLab sign-in, row by row, on license, supported GitLab protocols, tested versions, HTTPS, deployment, provisioning and documentation status. Read the Zitadel column for a full identity platform with its own database and deployment, and the Authelia column for a companion that depends on your reverse proxy. The main takeaway: both support OpenID Connect for self-managed GitLab, but Zitadel publishes vendor guides for SAML and OIDC, while Authelia's guide is community-supported and needs version checks before you rely on it.
| Aspect | Zitadel | Authelia |
|---|---|---|
| License and current release | AGPL-3.0-only core; APIs and SDKs under Apache-2.0. Current release v4.19.5, October 15, 2026 | Apache-2.0. Current release v4.39.28, September 17, 2026 |
| GitLab protocol documented | OpenID Connect for self-managed GitLab; SAML for GitLab.com groups (Premium tier) | OpenID Connect via a community guide for GitLab |
| Versions tested | Confirm the GitLab and Zitadel versions in Zitadel's guide before you plan | Guide tested with Authelia v4.38.0 and GitLab CE v16.9.0 |
| HTTPS requirement | GitLab's OIDC page requires HTTPS on the provider; confirm Zitadel's TLS setup | HTTPS only; session cookies require it and plain HTTP is not supported |
| Database and deployment | PostgreSQL 14 to 18; Linux binary, Docker Compose or Kubernetes with the official Helm chart | Companion to a reverse proxy; confirm its storage backend in its documentation |
| Provisioning | SCIM v2 provisions users into Zitadel; the guides do not push users out to GitLab | Not covered by its GitLab guide |
| Documentation status | Vendor-maintained SAML and self-hosted OIDC guides | Community-supported guide; Authelia says such guides may be incomplete or outdated |
Zitadel vs Authelia for GitLab SSO setup, route by route
Use this route when GitLab runs in your own infrastructure and Zitadel is the identity provider. Zitadel's self-hosted GitLab guide uses the OmniAuth openid_connect provider, so sign-in returns to GitLab at /users/auth/openid_connect/callback. GitLab lists OpenID Connect sign-in for self-managed instances in the Free, Premium and Ultimate tiers, so the subscription tier does not decide whether this route is available. The steps split across three parties.
- GitLab admin: Adds the openid_connect provider block to the Omnibus configuration (
gitlab.rb) with the Zitadel issuer, client ID, client secret and the exact redirect URI. - Identity admin: Creates the OIDC application in Zitadel, registers
https://<gitlab>/users/auth/openid_connect/callbackas its redirect URI and decides which organizations and users may sign in. - DeployOpen (under a written scope): Can make the GitLab and Zitadel changes, run the sign-in tests and document the final settings, if the agreed scope names these tasks.
- Verify before go-live: HTTPS on both GitLab and Zitadel, a redirect URI that matches character for character, a sign-in by an ordinary non-administrator account, and existing GitLab accounts linking to the correct identity without creating duplicates.
Confirm in writing how removed users lose GitLab access, because the Zitadel guide does not describe pushing users out to GitLab.
Use this route when your team runs on GitLab.com. Zitadel's SAML guide for GitLab states that the route needs the Premium tier, and the SAML configuration sits under the group's Settings, SAML SSO. GitLab's group SAML documentation lists Premium and Ultimate for GitLab.com groups, so the setup is tied to a paid tier on the group, and the group owner must hold the access to change it.
- GitLab admin (group owner): Confirms the group is on Premium or Ultimate, then enables SAML SSO under the group's Settings, SAML SSO and copies the values GitLab displays for the identity provider.
- Identity admin: Creates the SAML application in Zitadel with the values GitLab supplies, maps the user attributes the guide names and assigns the users who may sign in.
- DeployOpen (under a written scope): Can configure both sides, test group membership and write up the settings, provided the scope lists the GitLab.com group and the tier check as deliverables.
- Verify before go-live: The group subscription tier, the certificate and metadata currently in use on both sides, and a test user who lands in the expected group with the expected role.
Check provisioning separately: GitLab documents SCIM provisioning for GitLab.com groups, but the Zitadel guides do not describe pushing users out to apps, so confirm who adds and removes group members before go-live.
Use this route when you want Authelia as the OpenID Connect provider for a self-managed GitLab. The guide from Authelia is community-supported, and Authelia states that community guides are not guaranteed to be complete, accurate or up to date. It was tested with Authelia v4.38.0 and GitLab CE v16.9.0. The current Authelia release is v4.39.28, released on September 17, 2026, so the versions you run need their own test.
- GitLab admin: Adds the openid_connect provider to the GitLab instance with the Authelia issuer, client ID, client secret and the callback path
/users/auth/openid_connect/callback. - Identity admin: Defines the GitLab client in Authelia's configuration, sets the access rules for it and keeps the client secret out of shared documents.
- DeployOpen (under a written scope): Can write and test the configuration on the versions you run, then document each difference from the tested pair, if the scope covers that work.
- Verify before go-live: HTTPS on both endpoints, which Authelia requires for its session cookies, the exact Authelia and GitLab versions in use compared against the tested pair, and a non-administrator sign-in that follows the access rule you set.
Record the versions your test covered and check the guide's current status before you copy its settings, because a community guide can drift from the software it describes.
How a GitLab OIDC login moves between GitLab and the identity provider
This illustrative, generic flow starts when the user selects sign-in on GitLab. GitLab, acting as an OmniAuth openid_connect client, redirects the browser to the identity provider, which authenticates the user. The provider then sends the browser back to the GitLab callback with an authorization code. GitLab exchanges that code for tokens and user details, and only then opens a session. Check that every hop uses HTTPS, because both the Zitadel and Authelia routes require it. Exact endpoints, claims and group mapping come from each provider's own guide, so confirm them there before you configure either side.
Illustrative generic OpenID Connect authorization code flow between the user, GitLab and the provider.
User and group provisioning for GitLab with Zitadel and Authelia
SSO decides who can sign in to GitLab, but provisioning decides who gets an account and which groups they join. The two platforms document this unevenly, so the cards below list what to confirm in a test environment before you commit to either one.
Zitadel SCIM provisions into Zitadel
Zitadel exposes a SCIM v2 service provider interface, which provisions users into Zitadel. The Zitadel guides for GitLab cover OIDC or SAML sign-in and do not describe Zitadel pushing users or groups out to GitLab. Confirm how GitLab accounts and group membership get created: whether GitLab builds the account at first sign-in, whether a group claim maps to GitLab groups, and whether any step needs a separate GitLab process. Ask both vendors to show this in a test instance before you plan access reviews around it.
Zitadel service guidesGitLab SCIM for GitLab.com groups
GitLab documents SCIM provisioning for GitLab.com groups, and its SAML SSO guide for GitLab.com groups places SAML in the Premium and Ultimate tiers. Confirm the tier that SCIM requires on its own, since that is a separate check from SAML. Self-managed instances need their own check: confirm whether your GitLab version offers an equivalent for group provisioning. If it does not, plan how users and groups will be created and removed by hand, and name the person who owns that step.
GitLab group SSO docsAuthelia user source and groups
Authelia works as a companion to reverse proxies, and its community guide for GitLab uses OpenID Connect. The guide was tested with Authelia v4.38.0 and GitLab CE v16.9.0, says community guides are not guaranteed to be complete, accurate or up to date, and does not cover provisioning or where users are stored. Confirm the user source and how groups reach GitLab before you rely on it. Ask which backend holds the accounts, which claim carries group names, and whether those groups must exist in GitLab in advance.
Authelia GitLab guideDeprovisioning and GitLab admin roles
Removing access when someone leaves, and granting or revoking GitLab admin roles through SSO, are controls reviewers usually ask about first. Confirm how both paths reach GitLab for each platform before go-live, and do not assume a disabled identity blocks GitLab access. Disable a test user and check GitLab access: see whether an open GitLab session and a fresh sign-in both fail, and whether group membership and admin status change. Repeat the test after any change to the identity provider, the GitLab version or the group mapping.
How to test GitLab SSO before you commit to either provider
Both providers can sit in front of GitLab, but they reach it through different protocol paths, documentation and support levels. This sequence runs one controlled test against each shortlisted provider before anything reaches production, and it ends with evidence your security review can read. Each step names who does the work and what shows it is finished.
Confirm the GitLab deployment and tier
The GitLab administrator confirms whether the instance is GitLab Self-Managed or a GitLab.com group, and which subscription tier is active, using the admin area and the subscription record. This decides which SSO options exist at all. GitLab's docs list SAML and OpenID Connect sign-in for GitLab Self-Managed in every tier, while SAML SSO for GitLab.com groups is listed for Premium and the top tier, and SCIM provisioning is described for GitLab.com groups. Done when the team has a written note of deployment type, tier and the person who approved the test.
Choose the protocol your tier supports
The identity architect and the GitLab administrator pick one protocol path per provider. Zitadel's documentation covers a Zitadel GitLab SAML guide for GitLab.com, which needs the Premium tier and is configured under the group's SAML SSO settings, plus a self-hosted GitLab guide that uses the OmniAuth openid_connect provider. Authelia's documented GitLab path is a community OpenID Connect guide, and Authelia states that community guides may not be complete, accurate or up to date. Done when the team has written down the protocol, the GitLab setting it touches and the guide it will follow.
Match versions and enforce HTTPS
The platform engineer records the Zitadel, Authelia and GitLab versions in the test plan. Zitadel's current release is v4.19.5, and Authelia's current release is v4.39.28, but Authelia's GitLab guide was tested with Authelia v4.38.0 and GitLab CE v16.9.0, so any other pairing needs written confirmation from the vendor. Zitadel self-hosting needs PostgreSQL 14 to 18. The infrastructure team then puts both services behind valid HTTPS, because Authelia only serves HTTPS sites and GitLab's OpenID Connect page requires an HTTPS provider. Done when both sites load over HTTPS and the version matrix is signed off.
Configure one test user and one test group
The identity administrator creates one test user and one test group in the candidate provider. The GitLab administrator prepares a matching test group with the role the test user should receive. Use dummy accounts that belong to no staff member, and name them clearly so the test is easy to find in logs. Keep the attribute mapping to the smallest set the test needs. Done when the test user and group exist in the provider, the mapping is written down, and the GitLab administrator has confirmed the target group.
Verify sign-in, account creation and mapping
The tester signs in as the test user for the first time, which lets GitLab create the account. The GitLab administrator then checks the new user record for the expected username and email, and confirms that group membership matches the mapping from the previous step, using the group claim or SAML attribute named in the chosen guide. Record the sign-in time, the provider's log entry and the GitLab user record. Done when the first login creates one account, that account lands in the expected group, and a second login reuses it.
Disable the test user and confirm access ends
The identity administrator disables the test user in the provider, and the tester attempts a fresh sign-in to GitLab. The team also records what happens to an already open GitLab session and whether the GitLab account state changes, since behaviour can differ between provider and GitLab configurations. Confirm the exact result in your own environment and with each vendor before relying on it. Done when a fresh sign-in is refused and the session behaviour is written into the test record.
Decide provisioning and record the evidence
The identity architect chooses how accounts will be created and removed for the production rollout, and the security and compliance leads file the evidence for their review. Zitadel's documentation describes a SCIM v2 interface for provisioning users into Zitadel, and its guides do not describe pushing users out to applications. GitLab describes SCIM provisioning for GitLab.com groups, so self-managed provisioning needs its own check. Store the test plan, version matrix, logs, screenshots and disable result together. Done when the provisioning decision and the evidence file each have an owner and a reviewer.
Documented limits to check before you commit
Confirm the GitLab route before you choose a protocol, because Zitadel's guides split by deployment type. Zitadel's GitLab SAML guide covers GitLab SaaS, says the feature needs the Premium tier, and places the setting under the group's Settings, SAML SSO. For a self-hosted GitLab, Zitadel's guide uses the OmniAuth openid_connect provider with the redirect URI /users/auth/openid_connect/callback on your GitLab host. Zitadel's published guides do not include a SAML route for self-managed GitLab, even though GitLab lists SAML SSO for self-managed instances in its Free, Premium and Ultimate tiers. Ask Zitadel to confirm in writing whether a self-managed SAML route exists for your GitLab tier, and plan for OpenID Connect until it does.
Authelia's GitLab guide is a community-supported OpenID Connect 1.0 client guide, and Authelia states that community guides are not guaranteed to be complete, accurate or up to date. The guide was tested with Authelia v4.38.0 and GitLab CE v16.9.0, while the current Authelia release is v4.39.28, so treat the tested versions as the baseline you must reproduce before you upgrade either side. Build a test instance on those exact versions, then check each step against your own GitLab edition and version. Authelia also works only for sites served over HTTPS, because its session cookies require it, and the project declines to support plain HTTP. Your GitLab instance, the Authelia portal and the reverse proxy in front of them all need valid HTTPS, and a lab on plain HTTP will not reproduce a production setup.
Zitadel's core, Console and hosted login are licensed under AGPL-3.0-only from Zitadel v3, and Zitadel's LICENSING.md describes a commercial license option alongside it. APIs, SDKs, Helm charts and Terraform configurations stay under Apache 2.0, so list which components you will deploy and check each one. Whether AGPL-3.0 obligations reach your GitLab setup and what the commercial option covers are questions for your counsel to answer. Three items are not documented: SCIM provisioning that pushes users from Zitadel into a self-managed GitLab, SAML on Authelia, and provisioning in Authelia. Zitadel's SCIM v2 interface provisions users into Zitadel, so do not read it as an outbound feed to GitLab. Plan onboarding and offboarding around these gaps until each vendor confirms in writing.
Questions to answer before hiring help with GitLab SSO
What makes GitLab SSO setup with Zitadel or Authelia more or less work?
Effort depends on four factors: your GitLab tier and deployment model, HTTPS readiness, whether your versions match the tested ones, and whether SCIM provisioning is required.
- GitLab tier and deployment model: SAML SSO for GitLab Self-Managed is listed in the Free, Premium and Ultimate tiers, while SAML SSO for GitLab.com groups needs Premium or Ultimate.
- HTTPS readiness: Authelia only serves websites over HTTPS, and GitLab requires its OpenID provider to use HTTPS.
- Version match: Authelia's community guide was tested with Authelia v4.38.0 and GitLab CE v16.9.0, so check every version you run against the current releases.
- SCIM: Zitadel documents SCIM v2 for provisioning users into Zitadel, but its guides do not describe pushing users out to applications such as GitLab, so confirm that need before you choose.
How long does a GitLab SSO project with Zitadel or Authelia take?
No fixed duration applies, so the timeline is set in the written scope before work starts. The schedule depends on the same drivers that set effort: GitLab tier and deployment model, HTTPS and DNS readiness, the versions in use, whether SCIM provisioning is included, and how many group and role decisions your team has to make. Ask the provider to list which tasks it performs, which tasks your team performs, and what testing and handover happen before go-live. Your internal change windows and approval steps also add elapsed time, so include them in the plan. A scope that names the GitLab instance, the identity provider and the test users gives you a timeline you can check against your own calendar.
What do you need to give the team before GitLab SSO work starts?
Plan to provide four kinds of access and decisions before work begins:
- GitLab admin access: administrator rights on the self-managed instance, or group owner rights for GitLab.com groups, to configure the sign-in settings.
- Identity provider admin access: rights to create the application, set the redirect URI and define the claims or attributes GitLab will read.
- DNS and TLS: stable hostnames for GitLab and the identity provider, with valid certificates. Zitadel's self-hosted GitLab guide uses the OmniAuth redirect URI pattern https://<gitlab>/users/auth/openid_connect/callback, so confirm your hostname before configuring it.
- Group and role decisions: which users receive which GitLab access, how identity provider groups map to GitLab groups, and who approves each change.
Settle the group and role decisions early, because they shape the configuration you may later have to rebuild.
Can our own team set up GitLab SSO with Zitadel or Authelia?
Yes, if your team follows a documented route on matching versions, and it gets harder when it relies on a community guide that may lag the current release. Zitadel publishes a guide for self-hosted GitLab that uses the OmniAuth openid_connect provider, and a separate SAML guide for GitLab SaaS that needs the Premium tier. Authelia's OpenID Connect guide for GitLab is community-supported. Authelia's own guide says community guides are not guaranteed to be complete, accurate or up to date, and that the tested versions matter. Its tested pair is Authelia v4.38.0 with GitLab CE v16.9.0, while the current Authelia release is v4.39.28. Your team would need to test each step on a staging instance, verify every version against what you run, and record each change.
What does GitLab SSO with Zitadel or Authelia cost to set up?
DeployOpen does not publish prices, and a quote follows from the written scope. The services cost comes from the implementation work, testing and retest, handover documentation, and any ongoing support or retainer you choose afterward. Work that recurs is usually support, upgrades and testing, while setup is typically one-time. The GitLab tier is a licensing decision on the GitLab side, so if you need SAML SSO for GitLab.com groups, the Premium or Ultimate subscription is a cost you pay to GitLab directly. Authelia is licensed under Apache-2.0 and Zitadel under AGPL-3.0 for its core, and Zitadel also offers a commercial license, so confirm which terms apply to your use. Hosting, databases and internal staff time are separate costs. Ask for line items, the environment assumptions behind them, and which costs recur.
What happens if we switch identity providers after GitLab SSO is live?
Switching later means rebuilding the SSO configuration, the user identifiers and the group mappings, so treat it as a project of its own. The new provider must issue identifiers that line up with the accounts already in GitLab, or those accounts need to be linked again. Group and role mappings have to be recreated and retested against the new provider's claims. Ask for a cutover plan in the written scope that covers the order of configuration changes, how existing users are linked, a rollback step, and who signs off. Ask also for documentation of which claims, redirect URIs and group mappings the current setup depends on, so the next team can plan the change without guessing.
How DeployOpen sets up GitLab SSO without favoring either provider
DeployOpen scopes the Zitadel vs Authelia choice for GitLab SSO against your GitLab edition, your provisioning needs and your hosting model, then builds both options in your infrastructure so each one is judged on a working configuration. The written scope, deliverables and timelines are agreed before work starts. The output is a documented decision your security and compliance teams can review.
How we scope
- The written scope names the GitLab edition, because SAML SSO tiers differ between GitLab.com and self-managed.
- It records whether GitLab sign-in will use SAML or OpenID Connect, since both are documented for self-managed GitLab.
- The scope states how users reach GitLab, since Zitadel's guides do not describe pushing users out to apps.
How we build
- We deploy both options in your infrastructure, with HTTPS, since Authelia and GitLab's OpenID Connect setup both require it.
- For Zitadel, we follow either the GitLab SAML guide or the self-hosted OmniAuth guide, matched to your GitLab deployment.
- The guide for Authelia was tested with Authelia v4.38.0 and GitLab CE v16.9.0, so we check your versions against those.
How we hand over
- Handover documents each configuration, including redirect URIs, protocol settings, GitLab tier and the tested versions.
- Your team receives the configuration record, the test results and the decision notes for security and compliance review.
- Administrators receive written operating notes covering upgrades to Zitadel or Authelia and changes to the GitLab configuration.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers for either provider or both.
- Upgrade planning compares your running Zitadel and Authelia versions with their current release notes before any change.
- Authelia's GitLab guide is community-supported, so plan ongoing checks against each GitLab and Authelia upgrade.

