selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

authentik logo

Self-host authentik

version/2026.8.5

Open-source identity provider for SSO, MFA and access flows

ReleaseOpen CoreMIT
Docker ComposeCompose file & guide
docker compose up -d
Updated3 weeks ago
LanguagePython
Setup difficultyModerate
ThemeDark mode
Stars
26 361
CPU
2 CPU cores
RAM
2 GB
Ports
9000 (HTTP listener of the server container), 9443 (HTTPS listener of the server container), 9300 (Prometheus metrics endpoint)
Requires
PostgreSQL
Docker
ghcr.io/goauthentik/server
Application dashboard with the light theme appliedApplication dashboard with the dark theme appliedAdministration interface, light themeAdministration interface, dark theme

What is authentik?

authentik alternatives

All self-hosted alternatives to Auth0 → All self-hosted alternatives to Azure/Entra ID → All self-hosted alternatives to Microsoft ADFS →

Should you self-host authentik?

authentik scores 80/100 on selfhost.directory (how scoring works) and ranks #2 of 3 in IAM. It has 26 361 GitHub stars, +427 in the last 30 days.

It shipped 9 stable releases in the past year. The latest, version/2026.8.5, came out on 21 October 2026. New versions land roughly every 7 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Pocket ID (79/100, 10 332 stars). authentik scores higher overall. See authentik vs Pocket ID side by side.

Features

  • Application proxy
  • Conditional access
  • Customizable authentication flows and policies
  • GeoIP / impossible travel detection
  • LDAP
  • Multi-Factor Authentication
  • OAuth2 / OpenID Connect provider
  • Passkey / passwordless login
  • Privileged Access ManagementEnterprise tier only
  • RADIUS
  • Role-based Access Control
  • SAML2
  • SCIM provisioning
  • Self-service user portal
  • Single Sign-On (SSO)

authentik README

authentik logo


Join Discord GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status Code Coverage Latest version

What is authentik?

How to install authentik

Install authentik with Docker Compose

Environment variables
PG_PASS, AUTHENTIK_SECRET_KEY, COMPOSE_PORT_HTTP, COMPOSE_PORT_HTTPS, AUTHENTIK_EMAIL__*
wget https://docs.goauthentik.io/compose.yml
echo "PG_PASS=$(openssl rand -base64 36 | tr -d '\n')" >> .env
echo "AUTHENTIK_SECRET_KEY=$(openssl rand -base64 60 | tr -d '\n')" >> .env
docker compose pull
docker compose up -d

Recommended for small/test setups; needs Docker Compose v2 or Podman. Start at http://<host>:9000 and set the akadmin password.

How to configure authentik

  • AUTHENTIK_POSTGRESQL__HOSTHostname or IP address of the PostgreSQL server.
  • AUTHENTIK_POSTGRESQL__PORT5432Port on which PostgreSQL is listening.
  • AUTHENTIK_POSTGRESQL__USERPostgreSQL username authentik authenticates with.
  • AUTHENTIK_POSTGRESQL__PASSWORDPostgreSQL password authentik authenticates with; falls back to POSTGRES_PASSWORD if unset.
  • AUTHENTIK_POSTGRESQL__NAMEName of the PostgreSQL database to use.

authentik releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Will any feature of the open source version ever become enterprise-only?

No - the project commits to never moving open-source features behind the enterprise paywall; the reverse can happen over time.

Can I purchase paid support?

Paid support only comes with an enterprise subscription (plans over $1k); otherwise community support is on GitHub and Discord.

Can you host my authentik instance for me?

No hosted version is offered; you self-host with containers or use the one-click AWS CloudFormation template.

How does authentik handle security and compliance requirements?

It offers MFA, conditional access policies, audit logging and FIPS compliance on the Enterprise tier, and is OpenID Certified™.

Is authentik suitable for both small and large organizations?

The open-source edition suits small teams and personal use, while the Enterprise tiers scale to thousands of users with support.

Can I migrate from my existing identity provider to authentik?

Yes - migration is straightforward because authentik implements standard protocols such as SAML, OIDC and LDAP, and guides exist for common providers.

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…