
authentik
authentik is an MIT-licensed identity provider for single sign-on, authentication flows, directory integration, and access control. It replaces Okta or Auth0 for teams that want self-hosted identity i
Replaces —

Who it's for
authentik fits teams that need one self-hosted identity layer for internal tools, VPNs, and apps.
Skip if you cannot operate an identity provider with high availability and security review.
authentik gives smaller technical teams modern SSO without enterprise SaaS pricing.
Skip if your users need turnkey helpdesk-backed identity support.
The problem
Identity providers sit in front of every internal app, which makes vendor lock-in and pricing especially painful. As teams add SSO, MFA, app access rules, and directory sync, a hosted identity bill can grow while the most sensitive authentication data stays with a third party. Self-hosting identity is not a casual decision. Teams need control, but they also need secure defaults, auditability, backups, monitoring, and upgrade discipline because a broken identity provider can lock everyone out.
How it works
authentik supports common identity protocols such as OAuth2, OpenID Connect, SAML, and LDAP-style integration paths for apps and infrastructure.
Administrators can define login and enrollment flows to match MFA, policy, and user experience requirements.
authentik can protect apps through proxy and provider patterns, helping teams bring older services behind modern auth.
The project can run on infrastructure you control for teams with security, residency, or cost requirements.
Features
- SSO protocol support
- Custom authentication flows
- Application access proxy
- Self-hosted identity platform
Recommended for this setup
Strengths
- Modern self-hosted alternative to Okta: authentik covers SSO and access workflows without requiring every app login to depend on a proprietary identity SaaS.
- Flexible flow model: Custom flows give technical admins more control than rigid hosted identity products, especially for mixed internal apps.
Trade-offs
- Security-critical operations burden: Running authentik means owning uptime, backup recovery, patching, secret management, and incident response for authentication.
- Enterprise identity depth varies: Large organizations should validate lifecycle management, governance, reporting, and compliance needs against Okta or Microsoft Entra before switching.
Tech stack
FAQ
Yes. authentik is open source under the MIT license.
authentik can replace Okta for many SSO, app access, and authentication workflows, but large enterprises should validate governance and lifecycle requirements.
authentik can be self-hosted, but identity infrastructure is security-critical. Operators need backups, monitoring, patching, and recovery plans.