authentik vs Zitadel for GitLab SSO

authentik suits self-managed GitLab teams that want documented SAML or OIDC steps and optional user push through SCIM. Zitadel suits teams that want its documented GitLab.com SAML path or its self-hosted OIDC path. Confirm your GitLab tier first.

On this page

authentik vs Zitadel for GitLab SSO: which fits your setup

Choose between authentik and Zitadel for GitLab SSO by answering three questions: is GitLab SaaS (GitLab.com groups) or self-managed, which GitLab tier do you hold, and do you need SCIM user provisioning. Those answers decide the protocol, the setup guide and whether a provisioning step exists at all. authentik fits a self-managed GitLab instance. Its authentik GitLab guide covers both SAML and OpenID Connect, you choose one method, and it can add an optional SCIM provider as a backchannel that pushes users to GitLab. authentik's guide limits GitLab SCIM for self-managed instances to GitLab Premium or Ultimate with SAML single sign-on, and it covers user provisioning only, leaving out group provisioning.

Zitadel fits two documented paths. For GitLab SaaS, its Zitadel GitLab SAML guide applies, and the guide says it needs the Premium tier, configured under the group's Settings, SAML SSO. For self-hosted GitLab, its guide uses the OmniAuth openid_connect provider with the redirect URI https://<gitlab>/users/auth/openid_connect/callback, and GitLab's OpenID Connect sign-in is available on the Free, Premium and Ultimate tiers. GitLab requires the OpenID provider to run over HTTPS. Zitadel's SCIM v2 interface provisions users into Zitadel, but its guides do not describe pushing users out to GitLab, so confirm that with Zitadel before you plan provisioning around it.

Start with a short check. If GitLab is self-managed and you need SCIM, plan around SAML, since authentik ties GitLab SCIM to SAML single sign-on, and confirm your tier is Premium or Ultimate. If GitLab is SaaS, Zitadel's SAML guide is the documented match, and you should confirm with authentik whether its guide covers GitLab.com groups before choosing it. If you are self-managed without SCIM, both OIDC routes are documented, so compare the operating footprint and the redirect URI steps. authentik's 2026.5 release changed SAML issuer and OAuth redirect URI types, so confirm which version your guide targets. Finally, enabling omniauth_auto_sign_in_with_provider sends every sign-in to the identity provider, so plan how administrators reach GitLab's own login at /users/sign_in?auto_sign_in=false before you turn it on.

How a GitLab sign-in moves between the browser, GitLab and the identity provider

This generic flow applies to either authentik or Zitadel, whichever you choose as the identity provider. It starts when a user opens GitLab's sign-in and GitLab redirects the browser to the provider. The user authenticates at the provider, which then returns the browser to GitLab's callback address with the result. GitLab checks that response and creates the session. Confirm that the redirect and callback addresses match exactly on both sides, because a mismatch stops the hand-off. The exact messages depend on whether you choose SAML or OIDC.

Generic flow for either authentik or Zitadel; exact messages depend on SAML or OIDC.

What GitLab requires for SAML, OIDC and SCIM

GitLab accepts sign-in through SAML single sign-on or through OpenID Connect via the OmniAuth openid_connect provider, and authentik's GitLab guide has you pick one method. For GitLab Self-Managed, GitLab lists SAML single sign-on in the Free, Premium and Ultimate tiers, and OpenID Connect sign-in in the same three tiers. For GitLab.com groups, SAML single sign-on sits in the Premium and Ultimate tiers. Choose SAML when your security team already reviews SAML assertions for other enterprise apps, and OpenID Connect when you want a client ID, client secret and redirect URI model. Whichever you pick, GitLab's OIDC page requires the OpenID provider to use HTTPS, so the issuer URL of a test or internal authentik instance must also be served over HTTPS.

SCIM is where tier and protocol choice interact. authentik's guide states that GitLab SCIM for self-managed instances requires GitLab Premium or Ultimate plus SAML single sign-on, and that GitLab SCIM supports user provisioning but not group provisioning. An OIDC-only self-managed instance therefore does not meet the SCIM condition as authentik describes it, and any group-based role assignment has to be planned separately. Confirm this condition on GitLab's own SAML page for your version and tier before you commit to a provisioning design, since a procurement review is likely to test it. For GitLab.com groups, GitLab describes SCIM provisioning on its group SAML page, so check that setup separately from the self-managed one.

Zitadel's documented GitLab guides cover SAML for GitLab.com groups, configured under the group's Settings and SAML SSO, which the guide says needs the Premium tier, and OIDC for self-hosted GitLab with the redirect URI https://<gitlab>/users/auth/openid_connect/callback. Its SCIM v2 interface provisions users into Zitadel, but its guides do not describe pushing users out to applications. authentik's integration guides describe an optional SCIM provider used as a backchannel to push users to an app, which is the direction GitLab user provisioning needs. Before the first sign-in test, write down the GitLab tier, the protocol, the sync direction and who holds the SCIM token, and ask Zitadel to confirm in writing whether its product can send SCIM requests to GitLab in your setup.

How authentik and Zitadel compare for GitLab SSO

This table compares what the authentik and Zitadel guides for GitLab document, row by row, so you can see where each one stops. Read each cell as documented scope only, and confirm anything marked not documented in the guides reviewed with the vendor before you commit. The main takeaway: authentik's guide covers user provisioning to GitLab, while Zitadel's guides focus on sign-in and do not describe pushing users out to apps.

ItemauthentikZitadel
GitLab deployment documentedSelf-managed GitLab referenced in the SCIM notes. SaaS not documented in the guide reviewed. Confirm with authentik.SaaS through the SAML guide. Self-hosted GitLab through the OmniAuth OIDC guide.
Protocols documented for GitLabSAML or OpenID Connect. You choose one method per setup.SAML for GitLab SaaS. OpenID Connect via OmniAuth for self-hosted GitLab.
GitLab tier named in the guidePremium or Ultimate for GitLab SCIM on self-managed, alongside SAML single sign-on.The SaaS SAML guide names Premium. Tier for the self-hosted OIDC guide not documented in guides reviewed.
SCIM user provisioningSupported for GitLab user provisioning. Deprovisioning not documented in guides reviewed. Confirm with authentik.SCIM v2 provisions users into Zitadel. SCIM into GitLab not documented in guides reviewed. Confirm with Zitadel.
Group provisioningNot supported. GitLab SCIM covers users only, per authentik's guide.Not documented in guides reviewed. Confirm with Zitadel.
Pushing users from provider to GitLabYes, through an optional SCIM backchannel provider in authentik's integration guides.Guides do not describe pushing users out to apps. Confirm with Zitadel.
Automatic sign-in behaviorEnabling automatic sign-in sends every login to authentik. GitLab's own login stays reachable with auto_sign_in=false.Not documented in guides reviewed. Confirm with Zitadel.
Version notesCurrent release 2026.8.4. Version 2026.5 changed SAML issuer and OAuth redirect URI types, so older guide steps differ.Current release v4.19.5. Version-specific GitLab notes not documented in guides reviewed. Confirm with Zitadel.
Documentation support levelThe GitLab guide lists its support level as authentik.Support level not documented in guides reviewed. Confirm with Zitadel.

GitLab SSO setup steps in authentik and Zitadel

authentik publishes an integration guide for GitLab that supports both SAML and OpenID Connect, built on its OAuth2/OpenID Connect provider and SAML provider. You choose one method for the instance, and the guide lists GitLab's support level as authentik. Read the authentik GitLab guide before you copy any value, because the steps depend on your version.

  • Protocol choice: Pick SAML or OpenID Connect once, then configure only that method in GitLab.
  • Version-dependent steps: authentik 2026.5 changed the SAML issuer and OAuth redirect URI types, so the guide gives different steps for older versions.
  • Optional SCIM backchannel: A SCIM provider can push users to the application as a backchannel. authentik states that GitLab SCIM for self-managed instances requires GitLab Premium or Ultimate plus SAML single sign-on.
  • Provisioning scope: authentik describes GitLab SCIM as covering user provisioning but not group provisioning, so plan group membership as a separate task.

Check your authentik version and your GitLab subscription tier before you start, since both change which steps apply.

Which provisioning direction each provider supports for GitLab

Provisioning and SSO are separate questions for GitLab. SSO signs users in, while provisioning creates, updates and removes their accounts, and the two providers document different directions. The cards below separate what each guide covers from what you still need to test before you commit.

authentik pushes users to GitLab

authentik's GitLab integration guide describes an optional SCIM provider that acts as a backchannel to push users from authentik into the application. The guide's stated condition is specific: GitLab SCIM for self-managed instances requires GitLab Premium or Ultimate plus SAML single sign-on. An OpenID Connect-only sign-in setup does not meet that condition, so check your GitLab tier and sign-in method before you design around automated user creation. Also confirm which user attributes the push carries, and test one create and update cycle in a staging instance.

authentik GitLab guide

Group provisioning is not supported

authentik's GitLab guide states that GitLab SCIM supports user provisioning but not group provisioning. Groups you maintain in authentik therefore do not create or sync GitLab groups through the SCIM path, so plan on no automatic GitLab group changes from this route. Illustrative: if your access model assigns GitLab roles by authentik group, you need a separate, documented process for those assignments and a test group to prove it works. Ask GitLab whether any other sync option fits your tier before you assume one exists.

Zitadel's SCIM v2 is inbound

Zitadel's documentation describes a SCIM v2 service provider interface for provisioning users into Zitadel, so an upstream directory or HR system can create and update accounts there. The Zitadel guides for GitLab cover SAML for GitLab SaaS and OpenID Connect for self-hosted GitLab, and they do not describe Zitadel pushing users out to GitLab. Treat Zitadel as the sign-in source for GitLab, and do not plan on it creating GitLab accounts until a test shows it does. Ask Zitadel which integration path outbound user creation would need, and confirm it on your self-hosted version.

Zitadel GitLab guide

Deprovisioning and group mapping

Deprovisioning, meaning what happens to a GitLab account when a user is disabled upstream, and group mapping, meaning how identity groups translate to GitLab groups and roles, are not documented in the guides for either provider. Test both before you rely on either. Run a leaver case in a staging GitLab: disable the test user in the identity provider, then check whether the GitLab account is blocked and its access removed. Repeat with a group membership change, and record the GitLab edition and provider version you tested.

GitLab SAML SSO docs

Documented limits to check before you commit

Start with the automatic sign-in limit, because it decides who can reach GitLab's login form. authentik's GitLab guide warns that enabling the omniauth_auto_sign_in_with_provider setting redirects every sign-in to authentik. Users can still reach GitLab's own login at /users/sign_in?auto_sign_in=false, so the redirect does not by itself stop password logins. Decide who may use that fallback before you enable the setting. A common choice is to limit it to named break-glass administrators with strong credentials and to review their use. Then test with a standard user account to confirm the password form is unreachable when the setting is on, and confirm the current wording in the integration guide before rollout.

Next, check the protocol path for your deployment. Zitadel's SAML guide for GitLab is written for GitLab SaaS, and it says the feature needs the Premium tier and is configured under the group's Settings, SAML SSO. For self-hosted GitLab, Zitadel's documented route is the OmniAuth openid_connect guide, with the redirect URI https://<gitlab>/users/auth/openid_connect/callback. Confirm the self-managed SAML path with Zitadel before you design around it. On the authentik side, the 2026.5 release changed SAML issuer and OAuth redirect URI types, so the guide gives different steps for older versions. Match the steps to the exact authentik version you run, and record that version in your change ticket. Zitadel's GitLab SAML guide is the starting point for the SaaS comparison.

Finally, plan the upgrade path against authentik's security policy. The policy lists 2026.5.x and 2026.8.x as the supported lines that receive security fixes, and the project announces security releases at least 24 hours in advance. Plan to move off a line before it leaves the supported list. Both lines are supported today, so choose the one you will run through your change window and schedule the next move before the policy changes. Keep a staging instance on the same version as production, run your GitLab SSO test, including the fallback login, after each upgrade, and name the people who can start a patch within a day of notice. Check the authentik security policy for the current list, since it is a point-in-time statement.

Choosing GitLab SSO by deployment, tier and protocol

Five decisions, taken in this order, settle which provider fits a GitLab SSO project. Each step names the check that closes it, so the team leaves with a documented protocol, provisioning decision, login fallback and identity provider version line before the build starts.

  1. Confirm GitLab deployment type and licensed tier

    Establish whether GitLab is SaaS or self-managed, and which tier the organization licenses. Ask the person who holds the GitLab subscription or group ownership to confirm both, because the answer changes which guide applies. Zitadel's published SAML guide is written for GitLab SaaS and needs the Premium tier, configured under the group's SAML SSO settings, while its self-hosted guide uses the OmniAuth openid_connect provider. For self-managed GitLab, Zitadel's documented route is OIDC, which narrows the choice before step two. Closing check: a written record of the deployment, the tier and the person who confirmed them.

  2. Choose SAML or OIDC from the documented path

    Both providers have GitLab guides, but the paths differ. authentik's GitLab guide supports SAML and OpenID Connect, and you choose one. GitLab documents OpenID Connect sign-in for self-managed instances in the Free, Premium and Ultimate tiers, and SAML SSO for self-managed instances in the same tiers. Zitadel's self-hosted guide uses the redirect URI https://<gitlab>/users/auth/openid_connect/callback, and GitLab requires the OpenID provider to use HTTPS. Confirm with Zitadel whether a self-managed SAML setup is documented before choosing SAML. Closing check: a written protocol choice, the redirect URI and the HTTPS endpoint confirmed against the provider's guide.

  3. Decide whether SCIM provisioning is required

    Decide whether accounts must be created, changed and removed in GitLab automatically from the identity provider. The authentik guide says GitLab SCIM for self-managed instances needs Premium or Ultimate plus SAML single sign-on, and that it provisions users but not groups. This step often decides the provider: authentik's SCIM provider can act as a backchannel that pushes users to an app, while Zitadel's SCIM v2 interface provisions users into Zitadel and its guides do not describe pushing users out to apps. If SCIM is required, SAML becomes a condition, so return to step two before continuing. Closing check: a signed decision on SCIM, with the GitLab tier that covers it.

  4. Decide on automatic sign-in and plan fallback

    Decide whether users should be sent straight to the identity provider when they open GitLab. authentik warns that enabling the omniauth_auto_sign_in_with_provider setting redirects every sign-in to authentik, so this choice changes how every user reaches GitLab. Plan the fallback before go-live: users can still reach GitLab's own login at /users/sign_in?auto_sign_in=false, so name who may use that path, such as local administrators, and test it. This step does not choose the provider, but it determines whether the team needs a documented break-glass login for either option. Closing check: a tested fallback login and a named list of who can use it.

  5. Confirm identity provider version line and support

    Before the build, pin the identity provider version line and confirm that it still receives fixes. authentik 2026.8.4 is the current release, and its security policy lists 2026.5.x and 2026.8.x as versions receiving security fixes, so a build on any other line needs a check first. authentik 2026.5 changed SAML issuer and OAuth redirect URI types, so the guide shows different steps for older versions. For Zitadel, v4.19.5 is the current release, and self-hosted Zitadel supports PostgreSQL 14 to 18. Ask each vendor to state the support window for the line you select. Closing check: a written version line, the vendor's support end date and a confirmed database version.

What a GitLab SSO project needs from your team

What drives the effort in a GitLab SSO project?

The main drivers are your GitLab tier, the protocol you choose, where GitLab runs, and what your identity sources already hold. authentik's GitLab guide supports both SAML and OpenID Connect, and you pick one method. GitLab lists SAML SSO and OpenID Connect sign-in for self-managed instances in the Free, Premium and Ultimate tiers. SCIM provisioning is a separate step: authentik states that GitLab SCIM for self-managed instances requires Premium or Ultimate plus SAML single sign-on, and that it provisions users but not groups. The identity provider must use HTTPS, as GitLab's OpenID Connect guide requires. User count and an existing directory such as Active Directory or LDAP add mapping, testing and cutover work. Confirm your tier and protocol before any scope is written.

Can our own team set up GitLab SSO without a partner?

Yes, for a standard setup, if your team has the right access. authentik publishes an integration guide for GitLab that covers SAML and OpenID Connect, so a team with a GitLab administrator and an identity provider administrator can follow it. Plan for what a guide does not cover: your group structure, your existing directory, your GitLab tier and your sign-in testing. Zitadel also documents GitLab guides for SaaS over SAML and for self-hosted GitLab over OpenID Connect, so the same checks apply whichever provider you choose. A team without production experience running an identity provider should also confirm who owns upgrades, backups and incident response after go-live. If that ownership is unclear, a fixed-scope engagement can cover the build and documentation. DeployOpen plans, implements and documents self-hosted platforms inside your own infrastructure.

What does the work need from our team before it starts?

Mostly access, a test group, a change window and the network basics. Your GitLab administrator and identity provider administrator need enough rights to create the application, set the SAML or OIDC settings and map groups. A test group lets you prove sign-in before users see it. If you enable automatic sign-in through omniauth_auto_sign_in_with_provider, every sign-in goes to the identity provider, so schedule a change window. authentik notes that users can still reach GitLab's own login at /users/sign_in?auto_sign_in=false, so decide who keeps that path. For DNS and certificates, provide stable hostnames for GitLab and the provider, a valid certificate on the provider, and the redirect URI in the exact form the guide requires. Your network team should confirm that GitLab and the provider can reach each other before the build starts.

Which GitLab SSO costs are one-time and which recur?

Project work is one-time, while licenses and subscriptions recur. If you run a paid GitLab tier, that is a recurring subscription, and the tier decides which SSO and provisioning features you can use. Identity provider licensing varies. authentik core is free under the MIT license, but its Enterprise edition is listed on the authentik pricing page at $5 per user per month billed annually, plus $0.02 per external user per month. That charge recurs and scales with users, so confirm which features your setup needs are in the free edition before you budget for Enterprise. Ask Zitadel to confirm its commercial license terms and whether they apply to your deployment. Ask any implementation partner to split one-time build work from optional recurring support.

How long does a GitLab SSO project take to deliver?

No single duration applies to every GitLab SSO project, so the answer depends on scope and on how ready your environment is. The main variables are the GitLab tier and protocol, whether you need SCIM provisioning, how many identity sources you connect, whether a directory such as Active Directory or LDAP is involved, and how quickly your administrators and change board approve a window. A single-protocol setup with access already in place needs less coordination than a project that adds provisioning, a second protocol or a migration of existing users. Ask for a written timeline tied to the agreed scope, with the dependencies you own listed separately, such as access grants, certificate issuance and the change window. If a provider gives you a figure without asking about these inputs, ask what it assumes.

What should a GitLab SSO quote include before we sign?

A quote should follow a written scope that lists deliverables, tests, exclusions and who performs each task. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and most engagements are fixed-scope. DeployOpen does not publish a price list, so the quote comes from that written scope. Ask for the GitLab tier and protocol the quote assumes, the identity provider and its version, each deliverable such as configuration, runbook and handover notes, the sign-in tests and user acceptance steps, the change window and rollback plan, and the tasks you own. Ask what happens after go-live, including whether support or a retainer is optional. Ask every provider the same questions so the quotes can be compared. DeployOpen prepares evidence for compliance reviews but does not issue audit reports or certifications, so ask each vendor what evidence the work produces.

How DeployOpen sets up GitLab SSO without favoring either provider

DeployOpen starts with the GitLab edition and login method your team needs, then scopes authentik and Zitadel against the same requirements before the team picks either one. The engagement is planned, built, tested and documented inside your own infrastructure, with the written scope agreed before work starts. Confirm current features with each vendor before you decide.

How we scope

  • Written scope lists the GitLab edition, the login method and the tier each option needs.
  • We confirm whether SAML or OpenID Connect fits your GitLab setup, since authentik supports both and you choose one.
  • Scope also records whether SCIM provisioning is in or out, because GitLab SCIM depends on the plan and SAML.

How we build

  • Build the identity provider, GitLab settings and redirect URIs inside your infrastructure, with HTTPS on the provider endpoints.
  • Test the omniauth_auto_sign_in_with_provider setting, which sends every sign-in to authentik and needs a tested fallback to GitLab's own login page.
  • Check the authentik 2026.5 change to SAML issuer and OAuth redirect URI types for the version you deploy.

How we hand over

  • Written documentation covers each redirect URI, client setting, secret location and the admin login fallback.
  • Acceptance checks listed in the written scope confirm sign-in and provisioning before handover.
  • Include license notes for authentik's MIT core, its enterprise directory and Zitadel's AGPL-3.0 terms for legal review.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers.
  • Upgrade planning follows the authentik release lines listed in its security policy.
  • Confirm current GitLab plan requirements and Zitadel release notes at each upgrade, since both can change.

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.