Open-source project
goauthentik/authentik avatar
goauthentik/authentik

authentik: A Self-Hosted IdP That Covers SAML, OIDC, LDAP, and RADIUS in One Codebase

GitHub describes it as The authentication glue you need.. The repository metadata lists Python as its primary language. The metadata lists the NOASSERTION license. This article stays within the project description and details documented in the GitHub repository README.

26,426 stars2,145 forksPythonNOASSERTION

At a glance

What is it?
authentik is an open-source identity provider aimed at self-hosters who need SSO across multiple protocols. This review covers its architecture, deployment paths, and the trade-offs of choosing it over a single-protocol tool.
Who is it for?
Adopt authentik if you run a self-hosted stack and need one identity source for multiple protocols, from a small lab to a production cluster. Do not adopt it if you only need a single OIDC provider and want minimal moving parts, or if you cannot work with licence terms that are split across three licence files.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • goauthentik/authentik26,426 ★ · +1,670
Star history
Repository2026-08-132026-11-23
goauthentik/authentik24.8k26.4k

1,670 Stars in the last 102 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The Problem: SSO Fragmentation in Self-Hosted Environments

Most self-hosted services each ship their own login. You end up with a separate password for Grafana, Nextcloud, and your wiki. The standard fix is a single identity provider, but picking one forces a protocol choice. SAML works for enterprise apps, OIDC for modern web services, LDAP for legacy tools, and RADIUS for network gear. authentik addresses this by supporting all four in one codebase. The README describes it as 'an open-source Identity Provider (IdP) for modern SSO' with support for 'SAML, OAuth2/OIDC, LDAP, RADIUS, and more.' That breadth is the core value proposition. It is aimed at people who self-host, from 'small labs to large production clusters.' If you run a heterogeneous set of services, you can centralize authentication without running separate LDAP and OIDC servers. The trade-off is complexity. A single-protocol IdP is easier to understand and debug. authentik asks you to learn its own configuration model before you get value.

How authentik Works: Flows, Stages, and Providers

The README does not describe the internal architecture. The repository shows a mixed codebase: Python is the primary language, with Django among the dependencies in pyproject.toml; a Go module whose requirements include LDAP and RADIUS libraries; a Rust workspace in Cargo.toml; and a web/ directory. For how authentication is configured, consult the documentation.

Getting It Running: Docker Compose, Helm, and Cloud Templates

The README lists four installation paths. Docker Compose is 'recommended for small/test setups.' Kubernetes via a Helm chart is 'recommended for larger setups.' There are also official AWS CloudFormation templates and a DigitalOcean Marketplace app for one-click deployment. No commands are shown in the README, so you must follow the linked documentation. The AWS templates suggest the project targets production workloads, not just hobbyists. For a quick test, Docker Compose is the least effort. The repository combines Python, Go and Rust code, and the README badges include a separate outpost CI workflow (ci-outpost.yml), so expect more than one component.

Deployment Realities: Outposts and Enterprise Features

The README mentions an 'enterprise offering' that can 'securely replace existing IdPs such as Okta, Auth0, Entra ID, and Ping Identity.' That phrasing signals that the open-source core is functional but the enterprise tier adds features for large-scale management. The repository has a directory named authentik/enterprise, which suggests some code is gated. The exact feature split is not in the README. This is a genuine limitation: you cannot tell from the README what you lose by not paying. Also, the README references 'outposts' in the CI workflow names (ci-outpost.yml). Outposts are likely separate components that proxy traffic or handle LDAP/RADIUS. That means a production deployment involves more than the main server. You need to run or manage these outposts, which adds operational overhead. For a small lab, this might be overkill. For a cluster, it is a reasonable design. But the README does not explain how to operate them, so you must dig into the docs.

License and Maintenance: What the README Does Not Say

The license field in the repository metadata is 'NOASSERTION.' The README links to three licence files (LICENSE, website/LICENSE and authentik/enterprise/LICENSE) but does not state which licences they are. This is a red flag for adoption. You cannot assume it is MIT or Apache 2.0. The presence of an enterprise directory suggests a dual-license model, common in open-source IdPs. Without a clear license, you cannot legally redistribute or modify the code with confidence. The README also does not mention upgrade procedures, database migrations, or versioning policy. The recent releases show a versioning scheme like 2026.8.0, which implies calendar-based versioning. That is fine, but you need to check the changelog for breaking changes. The project is actively maintained, with release candidates ahead of final releases: the manifests currently carry 2026.11.0-rc1. That is a positive sign. But maintenance cost is real: you must keep up with releases, test your flows, and handle database schema changes. The README's brevity on these topics means you should plan for a learning curve.

Alternatives: Keycloak and Simple OIDC Providers

The most direct alternative is Keycloak, another open-source IdP. Keycloak also supports SAML and OIDC, but it does not natively support LDAP or RADIUS as protocols; it can federate to an LDAP directory but not act as an LDAP server. authentik's LDAP and RADIUS support is a differentiator. If you need to replace an existing LDAP server or authenticate network devices, authentik is a better fit. If you only need OIDC for a few web apps, a lighter tool like Dex or Authelia is simpler. The choice hinges on protocol breadth. authentik gives you one system for many protocols, but you pay for that with complexity. Keycloak is heavier in Java, while authentik is Python, which might matter for your operational skills.

Who Should Adopt It and What to Verify First

Adopt authentik if you are a self-hoster with a mix of services that require different authentication protocols. It is a strong candidate for a homelab or a small company that wants to replace multiple single-protocol identity tools. Do not adopt it if you have a single OIDC app and no need for LDAP or RADIUS; the overhead is not justified. Before you commit, verify the license. The 'NOASSERTION' field is a blocker for many organizations. Also, check the enterprise feature list to see if you need a paid tier. Test the Docker Compose deployment with a sample flow and a real application. The README does not provide a quickstart command, so you must follow the documentation. Confirm that your target services support the protocols you plan to use. Finally, look at the release notes for 2026.8.5 to understand what changed and whether the upgrade path is smooth. authentik is a serious project with active releases, but it demands due diligence on licensing and operations.

Editorial conclusion

Adopt authentik if you run a self-hosted stack and need one identity source for multiple protocols, from a small lab to a production cluster. Do not adopt it if you only need a single OIDC provider and want minimal moving parts, or if you cannot work with licence terms that are split across three licence files. Before committing, verify the exact license terms in the repository, review the enterprise feature list against your needs, and test the Docker Compose deployment with your existing LDAP directory or SAML SPs, since the README does not detail upgrade procedures or migration paths.

Frequently asked questions

What is authentik used for?

authentik is an open-source identity provider for single sign-on, and it is used to centralise authentication for the applications an organisation runs. It supports SAML, OAuth2 and OIDC, LDAP and RADIUS, and is designed to be self-hosted from small labs through to large production clusters. The README also describes a commercial enterprise offering for organisations replacing an existing identity provider.

Is authentik free?

The core identity provider is open source, and the README links three separate licence files: one at the repository root, one in the website directory, and one in the enterprise directory, so the terms differ by part of the tree. There is additionally a commercial enterprise offering with its own pricing. Because the terms are split, check the licence file that covers the specific directory rather than assuming the root one applies everywhere.

how to install authentik

Four routes are documented: Docker Compose, recommended for small and test setups; a Kubernetes Helm chart, recommended for larger setups, with the chart kept in a separate repository; AWS CloudFormation using official templates; and one-click deployment through the DigitalOcean Marketplace. Each has its own documentation page, and the Compose and Helm routes are the two the project actually recommends, for small and large setups respectively.

how to install authentik docker compose

Docker Compose is the route the README recommends for small and test setups, and the documentation has a dedicated page for it. The project also offers a Kubernetes Helm chart for larger deployments, kept in a separate chart repository, plus CloudFormation templates for AWS and a Marketplace app for DigitalOcean, so a Compose install is the shortest path but not the only one.

Is authentik better than keycloak?

The README makes no comparison to Keycloak. What it does state is which commercial identity providers its enterprise offering is positioned to replace, naming Okta, Auth0, Entra ID and Ping Identity, and that the open-source project supports SAML, OAuth2 and OIDC, LDAP and RADIUS for self-hosting from small labs to large clusters. Any direct comparison would have to be made outside this documentation.

Official sources

  1. Official documentation
  2. Official README
  3. Project repository
  4. Release notes
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/goauthentik-authentik.svg)](https://hysenlabs.com/projects/goauthentik-authentik)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/goauthentik-authentik.svg)](https://hysenlabs.com/projects/goauthentik-authentik)

Was this useful?