Lightweight, unofficial Bitwarden-compatible password vault written in Rust
The authentication glue you need.
Recommended VPS & Hardware Sizing
Estimated Hosting: $10 - $15/mo (e.g. Hetzner CPX21 or Linode)Authentik vs Auth0 / Okta Comparison Matrix
| Evaluation Criteria | Authentik (Open Source) | Auth0 / Okta (Proprietary) |
|---|---|---|
| MAU Pricing | Unlimited monthly active users with zero fees | $23/mo per 1,000 MAU + enterprise tiers |
| SAML Enterprise Add-on | SAML 2.0 included natively for all apps | Requires enterprise custom quote ($1,000+/mo) |
| Credential Custody | Private sovereign database custody | Passwords hashed in third-party database |
Financial Impact: Migrating from Auth0 / Okta to Self-Hosted Authentik
* Excludes enterprise SSO add-ons & usage overages
* Commodity Hetzner / DigitalOcean compute instance
Compare Authentik Head-to-Head
Comprehensive benchmark comparing Authentik against proprietary Auth0 / Okta licensing and features.
RedHat Enterprise IAM vs Modern Python/Go Identity Provider
Bitwarden-Compatible Lightweight Rust Server vs 1Password SaaS
Developer-First Secret Management & Sync vs Complex Enterprise HSM Vault
Self-Hosted Control Server vs Tailscale Cloud Coordination Service
Lightweight Headscale Coordination vs Full-Featured Zero-Trust Network
Core Capabilities & Features
Self-Host Authentik with Docker Compose
Tweak configuration ports, secrets, and volumes live. Download or copy your ready-to-run container file:
1-Click Docker Compose Generator
Generate production-ready container definitions with customizable ports and volumes.
Open-source Identity Provider focused on flexibility and enterprise versatile authentication flows
version: '3.4'
services:
postgresql:
image: docker.io/library/postgres:16-alpine
restart: unless-stopped
volumes:
- database:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: ${PG_PASS:-secret_authentik_pw}
POSTGRES_USER: ${POSTGRES_USER:-authentik}
POSTGRES_DB: ${POSTGRES_DB:-authentik}
redis:
image: docker.io/library/redis:alpine
command: --save 60 1 --loglevel warning
restart: unless-stopped
volumes:
- redis:/data
server:
image: ghcr.io/goauthentik/server:latest
restart: unless-stopped
command: server
environment:
AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:-generate_random_key_here}
AUTHENTIK_REDIS__HOST: redis
AUTHENTIK_POSTGRESQL__HOST: postgresql
AUTHENTIK_POSTGRESQL__USER: ${POSTGRES_USER:-authentik}
AUTHENTIK_POSTGRESQL__NAME: ${POSTGRES_DB:-authentik}
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:-secret_authentik_pw}
volumes:
- ./media:/media
- ./custom-templates:/templates
ports:
- "${COMPOSE_PORT_HTTP:-9000}:9000"
- "${COMPOSE_PORT_HTTPS:-9443}:9443"
depends_on:
- postgresql
- redis
volumes:
database:
redis:Frequently Asked Questions: Self-Hosting Authentik
How do I self-host Authentik using Docker Compose?
You can deploy Authentik (goauthentik/authentik) on any Linux server by copying the docker-compose.yml template on this page, configuring your desired host port and persistent volume directory, and running 'docker compose up -d'.
How does Authentik compare to Auth0 / Okta?
Authentik is an open-source, self-hosted alternative to Auth0 / Okta built with Python, Django, Go, PostgreSQL, Redis. Unlike Auth0 / Okta ($35 - $240+ / month (Penalties on MAU)), Authentik has zero per-user licensing fees and keeps 100% of your data on your own infrastructure.
What are the minimum VPS RAM and CPU requirements for Authentik?
For production self-hosting (Medium difficulty tier), we recommend at least 4 GB RAM (minimum 2 GB), 2 vCPU, and 25 GB SSD storage, which typically costs $10 - $15/mo (e.g. Hetzner CPX21 or Linode).
Is Authentik free for commercial business use under the GPL-3.0 license?
Yes. Distributed under the GPL-3.0 license, Authentik can be self-hosted internally by businesses and engineering teams of any size without per-seat royalties.
Embed Official Authentik Badge in GitHub README
Served locally from OSSMatrix with Cloudflare global edge caching. Real-time verified alternative status, zero third-party dependencies, sub-5ms load time.
[](https://ossmatrix.com/project/authentik)<a href="https://ossmatrix.com/project/authentik" target="_blank" rel="noopener noreferrer"><img src="https://ossmatrix.com/api/badge/authentik" alt="Authentik on OSSMatrix" /></a>Compare Authentik with Other Self-Hosted Alternatives
An open source, self-hosted implementation of the Tailscale control server
Open-source Identity and Access Management for modern applications
Zero-trust WireGuard overlay network with SSO and MFA access control
Open-source secret management platform for teams
Open source alternative to Auth0 and AWS Cognito