authentik vs Ory

authentik is a packaged, self-hosted identity provider with LDAP, RADIUS and proxy outposts, and Ory is a set of Apache-2.0 headless services where your team builds the login experience. The right choice depends on who builds the login and consent flow and which directories and protocols must work on day one.

On this page

authentik vs Ory: when each one fits your self-hosted SSO

Choose authentik when you want a ready-to-run identity provider with providers, outposts and LDAP or RADIUS support, and your administrators will manage logins, applications and policies through its admin interface. Choose Ory when your engineers will build the login experience on headless APIs and you want Apache-2.0 components, adding the optional Ory Enterprise License only where a feature or support commitment requires it. The choice turns on four questions. Who builds the login and consent screens? Which directories and protocols must work on day one? Do you need B2B tenancy, where each customer manages its own users? How much do you depend on guaranteed CVE patching? Answer these before comparing feature lists, because they decide how much custom work each platform will place on your team.

The authentik core is MIT licensed, but code under authentik/enterprise needs a paid subscription for production use, so confirm which features your directories and protocols depend on before you assume the free edition covers them. The free core includes OAuth2 and OpenID Connect, SAML, LDAP, RADIUS and proxy providers, which fits a mix of web applications, directory-bound systems and network devices that authenticate over RADIUS. Plan the deployment shape early: the server container runs an embedded outpost, a worker container handles background tasks, and PostgreSQL stores the configuration and data. For patching, the authentik security policy lists 2026.5.x and 2026.8.x as supported lines and announces security releases at least 24 hours in advance, so ask your team to confirm how quickly it can apply those releases inside your change windows.

On the Ory side, Kratos, Hydra, Keto, Oathkeeper and Polis are each Apache-2.0, and Ory positions its open source edition for evaluation, development and deployments where occasional upgrade downtime is acceptable and guaranteed CVE patching is not required. The Ory Enterprise License adds multi-tenancy and organizations for Kratos, 24/7 support SLAs and timely CVE patches, and its builds are drop-in replacements for open source installations. Ory Kratos supports SQLite, PostgreSQL, MySQL and CockroachDB, and its repository README lists SCIM, SAML, organization login and CAPTCHAs as enterprise features. If directory sync or SAML is a day-one requirement, confirm in writing whether it comes from the open source components or the license, and ask Ory for the written scope of the Enterprise License, since that document answers the B2B and CVE questions.

Which scenarios favor authentik and which favor Ory

This table compares authentik and Ory by the team scenario each one serves. Read the Why column as a condition: it states when the fit holds and what to confirm before you choose. The main takeaway is that authentik fits internal, multi-protocol SSO on one platform, while Ory fits teams that build their own login, consent and customer-facing identity flows.

ScenarioBetter fitWhy
Internal apps behind a reverse proxy with mixed protocolsauthentikCovers proxy, OIDC, SAML, LDAP and RADIUS providers in one platform, useful when apps need several protocols.
Customer-facing product where you own the login UIOry (Kratos)Kratos is API-first and lets your team build the login UI. Holds only if you have front-end capacity to build and maintain it.
B2B customers who manage their own directory syncOry (Polis)Polis provides SAML, OIDC and SCIM sync under Apache-2.0. Kratos organizations need the Enterprise License.
OAuth2 and OIDC server with your own consent flowOry (Hydra)Hydra fits when your team builds login and consent pages on its headless APIs. Confirm authentik's consent options if you prefer one platform.
Fine-grained permissionsOry (Keto)Keto is a Zanzibar-approach server with ACL and RBAC, run as its own service. Confirm authentik's policy depth before deciding.
Evaluation or small internal deploymentauthentikHolds for one team on one host at or above the documented minimum. Ory Open Source also suits evaluation.
Guaranteed CVE patchingOry (Enterprise License)Holds only if you license the Ory Enterprise License, which adds timely CVE patches and 24/7 support SLAs.
Guaranteed CVE patching on open source editions aloneNeither clear matchNeither open source edition guarantees patching. authentik lists supported lines and 24-hour notice of security releases.

How authentik and Ory are built and what that means for operations

Both platforms split into several moving parts, and those parts shape upgrades, sizing and database planning. authentik packs its runtime into a server, a worker and PostgreSQL, while Ory separates identity, OAuth2, permissions, proxying and single sign-on into distinct services. Read each card as a question to answer for your own environment before you choose.

Server, worker and PostgreSQL

authentik runs as a server container with an embedded outpost, a worker container for background tasks and PostgreSQL, which holds all configuration and data except uploaded files. Release 2025.10 removed Redis entirely and moved caching, tasks, sessions and WebSocket functions to PostgreSQL. The upgrade warning is the one to plan for: authentik warns of roughly 50% more PostgreSQL connections after upgrading, so check your connection limits and any connection pooler before you roll out 2025.10 or later. When you compare with Ory, count connections for every database-backed service you run, not only for authentik.

authentik 2025.10 notes

Compose sizing for small deployments

The authentik Docker Compose guide calls for a host with at least 2 CPU cores and 2 GB of RAM, and it positions Compose for test setups and small-scale production. That floor has to cover the server, the worker and PostgreSQL together on one machine, so use it as a starting point and size from your own load tests. Ask your team to define the point where Compose no longer fits and a move to the Kubernetes installation becomes necessary, since the authentik docs cover that path separately. Ory has no equivalent single-host guidance to compare against in this section, so confirm its hosting requirements for each service directly.

Docker Compose guide

Five services to upgrade and configure

Ory divides identity (Kratos), OAuth2 and OpenID Connect (Hydra), permissions (Keto), identity-aware proxying (Oathkeeper) and SAML and OIDC single sign-on with SCIM sync (Polis) into separate services. Each one is a separate upgrade, with its own configuration and its own release tags on GitHub, so your change calendar has to cover every service you run. Kratos is API-first, which means your team builds the login and registration interface, and Hydra works through headless APIs that connect to your existing user management. Treat that login interface as an application you maintain, with its own testing and security review.

Hydra repository

Confirm the database for each component

Kratos supports SQLite, PostgreSQL, MySQL and CockroachDB as its database. That list shows what the software can connect to, and it does not confirm which option Ory supports for production. Confirm the production-supported database for each Ory component you plan to run, including Kratos, Hydra, Keto, Oathkeeper and Polis, because the answers may differ. Ask Ory and check the current Kratos documentation before you pick a database. Changing databases after users have enrolled is a migration project, so settle this choice before the first login.

Kratos repository

authentik vs Ory side by side on protocols, databases and identity integration

This table compares authentik and Ory on the protocols, directory sources, databases and governance features that usually decide a shortlist. authentik ships as one identity provider, while Ory is a set of Apache-2.0 components that you assemble and, for some features, license commercially. Where a row names a point to confirm, check it with the vendor's current documentation before you rely on it.

CapabilityauthentikOry
Product shape and login experienceOne identity provider: server container with embedded outpost, worker container and PostgreSQL. Confirm login page branding options in its docs.Headless, API-first: Kratos manages identities through APIs and you build the login UI. Supports passwords, passkeys, social sign-in and TOTP.
License and editionsMIT core. Enterprise code needs a paid subscription in production. Enterprise: $5 per user per month billed annually, plus $0.02 per external user (pricing page).Kratos, Hydra, Keto, Oathkeeper and Polis are Apache-2.0. Enterprise License adds multi-tenancy, organizations and SLAs. Ory Network is managed.
Protocols and providersOAuth2/OIDC, SAML, LDAP, RADIUS, proxy, SCIM, RAC, WS-Federation and Shared Signals. Google Workspace and Entra ID are Enterprise-only.Hydra is an OpenID Certified OAuth 2.0 and OIDC server. Polis adds SAML and OIDC single sign-on. Kratos SAML is an enterprise feature.
Identity sources (LDAP, Active Directory, SAML, SCIM)LDAP and SCIM provider types are listed. Entra ID and Google Workspace integrations are Enterprise-only. Confirm Active Directory setup steps in authentik docs.Kratos lists SAML and SCIM as enterprise features. Polis provides SAML and SCIM directory sync under Apache-2.0. LDAP and AD support: confirm in Ory docs.
DatabasePostgreSQL holds all configuration and data except uploaded files. authentik no longer uses Redis since 2025.10.Kratos supports SQLite, PostgreSQL, MySQL and CockroachDB. Confirm production suitability and Hydra and Keto database support in their docs.
Multi-tenancy and organizationsConfirm in authentik's current documentation how it separates tenants or customer organizations within one instance.Kratos multi-tenancy and organizations, and organization login, are Enterprise License features on top of self-hosted Kratos.
Permissions modelConfirm in authentik's docs how fine-grained authorization is modeled beyond provider and application access.Keto is a permission server based on Google's Zanzibar approach, with ACL, RBAC and more.
Audit loggingEnhanced audit logging is an Enterprise-only feature on the pricing page.Confirm audit log options for Kratos, Hydra and Keto in Ory's current documentation.
Security patching and supportPer its security policy, security fixes cover 2026.5.x and 2026.8.x, announced at least 24 hours ahead.Open source does not guarantee CVE patching, per Ory. Enterprise License adds timely CVE patches and 24/7 support SLAs.

What the authentik Enterprise license and Ory Enterprise License each add

authentik's core is MIT licensed, and most of the repository falls under that license. The code in authentik/enterprise/ is governed by a separate enterprise license, and running that code in production needs a paid subscription. The pricing page lists three editions, and the paid tiers are priced differently, so the choice depends on headcount, external users and which features you need.

  • Open Source edition: free to use, with community support only through Discord. It fits teams that can troubleshoot on their own and do not need a ticketed support channel.
  • Enterprise edition: $5 per user per month billed annually, plus $0.02 per external user per month, according to the authentik pricing page. These charges recur, so the total grows with headcount and with the number of external accounts such as partners or customers. Ask authentik to confirm how external users are counted before you model the cost.
  • Enterprise Plus edition: starting at $20k annually on the same pricing page. The starting figure is a floor, so get a written scope from authentik before comparing it with the per-user pricing.
  • Enterprise-only features: Google Workspace and Microsoft Entra ID integrations, mTLS client certificate authentication, privileged access management, password history, enhanced audit logging, and ticket-based support for subscriptions over $1k. If you need none of these, the core may cover your requirements. If you need several, budget for the subscription from the start.

Before you commit, confirm in writing which features your use case requires, which environments the enterprise license covers, and what the subscription terms say about production use.

How a login flows through authentik and through Ory

The authentik half starts with a user opening a protected app, which is reached through the embedded outpost or as an OIDC client. The authentik server handles the login, the worker container runs background tasks, and PostgreSQL stores configuration and data, so all three must be running and reachable. LDAP or RADIUS clients reach the server on a separate path. The Ory half starts with a user signing in at a login UI your team builds. Kratos manages identities, Hydra issues OAuth2 and OIDC tokens, and the application calls Keto for permission checks. Confirm who builds and secures the login UI, and which protocols your applications need, because the Ory components shown do not cover LDAP or RADIUS.

A simplified illustration of the components named in this comparison, showing the main hand-offs only.

What drives the cost of running authentik or Ory yourself

Running authentik or Ory yourself splits cost into one-time work and recurring work, and the split lands differently on each. With authentik, one-time effort goes mainly to designing flows and providers, integrating applications and migrating users, and the admin interface covers much of the login experience. With Ory, Kratos is API-first, so your team builds the login, registration and recovery screens, and Hydra needs its own login and consent handling. Both depend on a database in production. authentik keeps all configuration and data in PostgreSQL, and its 2025.10 release notes, which moved caching and sessions off Redis, warn of roughly 50% more PostgreSQL connections after upgrading. Test connection limits before go-live.

authentik's core is MIT licensed, but production use of the Enterprise code needs a paid subscription. The authentik pricing page lists Enterprise at $5 per user per month billed annually plus $0.02 per external user per month, and Enterprise Plus starting at $20k annually. Because the per-user and per-external-user charges scale with headcount and external user counts, ask how each is counted before you model the bill: whether a user counts when provisioned or when active, whether service and break-glass accounts count, and how customers or partners who sign in to your applications are classified. Ask authentik to confirm what Enterprise Plus adds beyond Enterprise. The subscription recurs at each renewal, so review the counts every cycle. Support also depends on the tier, since the pricing page ties ticket-based support to subscriptions over $1k.

The Ory Enterprise License has no price on this page, so ask Ory for a written quote before budgeting. The OEL offers optimized builds of the same servers, enterprise features like Kratos multi-tenancy and organizations, 24/7 support SLAs and timely CVE patches. Ory positions open source for deployments where occasional upgrade downtime is acceptable and guaranteed CVE patching is not required, so the OEL decision rests mainly on support and patch commitments. For any quote from either vendor, request: (1) how users and external users are counted, with the unit price for each; (2) what the base price covers; (3) support hours, response and resolution SLAs and escalation path; (4) CVE patch timelines and advance notice of security releases; (5) upgrade help and whether the drop-in build is covered in staging; (6) renewal and price change terms; (7) access and support after license expiry.

Moving users and clients between authentik and Ory

This sequence moves users and client applications between authentik and Ory in either direction without losing track of what each application depends on. It starts with an inventory and a written decision on what transfers and what gets rebuilt, then proves the target in staging and cuts over one application at a time with a rollback path. No migration tooling is supplied for these two platforms, so confirm export and import options with each vendor before estimating effort.

  1. Inventory applications, protocols and user sources

    Record every application that signs in against the current platform, along with its protocol (OpenID Connect, OAuth 2.0, SAML, LDAP or proxy-based access), client registrations, redirect URIs, scopes and claims. List each user source, such as local accounts, an LDAP directory, Active Directory or an external identity provider, and map the groups that grant application roles. Each application owner confirms their row. Done when every application has one entry with its protocol, redirect URIs and groups, and every user source is named alongside the applications that depend on it.

  2. Decide what transfers and what gets rebuilt

    Decide each item in writing. User accounts and client registrations are candidates to transfer. Password hashes move only if the export format and hash scheme are supported on both sides, and MFA enrollments are treated as rebuilt unless an export proves otherwise. Authorization models are redesigned, because authentik uses its own groups and policies while Ory splits identity, OAuth2 and permissions across Kratos, Hydra and Keto. The login experience also changes: authentik ships built-in flows, while Kratos lets your team build the login UI. No migration tooling is supplied for these two platforms, so ask each vendor about export and import options first. Done when the platform owner and security lead sign the decision list.

  3. Build the target against the same user source

    Stand up the target in staging, inside your own infrastructure. For authentik, that means the server and worker containers with PostgreSQL. For Ory, that means Kratos, Hydra and any other components you choose, a database that Kratos supports, and a login UI your team builds on Kratos's APIs. Confirm with Ory whether Kratos can read directly from your existing directory or whether accounts must be synced into it. Then point both staging environments at the same user source so test results reflect production. Done when a test user signs in to each rebuilt client and the SSO, access control and audit logging settings match the requirements your compliance team wrote down.

  4. Pilot one application end to end

    Choose one low-risk application with a named owner and a small, known group of users. Move its client registration, redirect URIs and login path to the target in staging, then test sign-in, sign-out, token refresh, the MFA challenge and role checks with test accounts. Confirm that session lifetime and logout behavior match the old platform, because login flows differ between the two and users notice when they do not. Record every failure with its fix and a retest. Done when the owner accepts the pilot in writing and the retest passes with no open findings.

  5. Cut over one application at a time

    Move one application at a time to production, in a change window agreed with its owner. Keep the old client registration and its users able to sign in until the new path is verified, so rollback is a configuration switch back to the old platform. Before each cutover, rehearse the rollback steps and record who approved the change, which checks ran and when the switch happened. Done when every application in the inventory shows a verified sign-in on the target, a rehearsed rollback record and an owner's sign-off.

  6. Retire the old system and document it

    After every application runs on the target and each owner's rollback window has closed, disable the old platform's client registrations and user sources. Then decommission its containers and database, keeping a final backup under your retention policy. Write up what transferred, what was rebuilt, which MFA enrollments users repeated and which dependencies were removed. Done when the old system accepts no sign-ins, the backup and change record are filed, and the runbook and architecture diagram name the new platform as the source of identity.

Where authentik and Ory projects usually run long

Implementation effort on authentik is mostly configuration work that multiplies with each application. Start with PostgreSQL, since authentik stores its configuration and data there. The 2025.10 release notes say Redis is no longer used, with caching, tasks and sessions moved into the database. Those notes also warn of roughly 50% more PostgreSQL connections after upgrading, so check connection limits and pooling before go-live. Agree TLS termination and certificate handling early. Each application then needs its own provider (OAuth2/OIDC, SAML, LDAP or proxy), and each proxy-protected app needs an outpost placed where it can reach that app. Directory sources need attribute mappings agreed with the directory owners. If Google Workspace, Entra ID, mTLS or privileged access management is required, make the Enterprise license decision before design, since code in authentik/enterprise sits under a separate license.

On Ory, the work is assembly. Kratos, Hydra, Keto and Oathkeeper are separate services you deploy and connect, and each needs its own database decision, with Kratos supporting SQLite, PostgreSQL, MySQL and CockroachDB. Because Kratos is API-first and Hydra integrates through headless APIs, you build the registration, login, recovery and consent screens yourself and wire Hydra to your existing user management. Design the Keto permission model (ACL, RBAC or another pattern) before writing any relationships, so access rules are settled before applications depend on them. Then decide whether an OEL build is needed. The Kratos README lists SCIM, SAML, organization SSO and CAPTCHAs as enterprise features, and the Ory Enterprise License adds multi-tenancy, organizations, the Hydra ROPC grant, support SLAs and timely CVE patches. Ory says open source suits evaluation and deployments where occasional upgrade downtime and unguaranteed CVE patching are acceptable, so match that choice to your risk appetite.

Across both platforms, the longest phases are rarely the install. An unclear application inventory is the most common source of rework: SAML metadata, LDAP bind changes and OIDC redirect URIs tend to surface during cutover, so list every app with its owner, protocol and login path before estimating. Inconsistent user attributes across directories cause the next delays, since email, username and group fields often differ between Active Directory and HR sources, so agree canonical attributes first. MFA policy decisions (which apps, which factors, enrollment and recovery paths) also slip when made late. Evidence collection for a security or compliance review takes time, and on authentik enhanced audit logging is an Enterprise feature, so confirm whether the free edition's logs meet your assessor's requests. DeployOpen plans, implements and documents this work, and scope and timelines are agreed in writing before work starts. DeployOpen does not publish a price list, so ask for a quote built from that written scope.

What buyers ask about authentik vs Ory before hiring help

How much do authentik and Ory cost, and what does the quote depend on?

authentik publishes its price list, while Ory's commercial terms for self-hosted deployments sit outside the open source docs, so confirm them with Ory directly. authentik core is MIT licensed and free to run. Its pricing page lists Enterprise at $5 per user per month billed annually plus $0.02 per external user per month, and Enterprise Plus starting at $20k annually. Ory Open Source is Apache-2.0 licensed, and its paid support, patch and SLA terms sit in the Ory Enterprise License, which this page does not price. Any quote depends on user counts, internal versus external users, edition, support level and the services in scope, such as deployment, integration and hardening. Ask for one-time versus recurring line items, renewal terms and how the price changes as users grow. DeployOpen does not publish prices; a quote follows from the written scope.

How long does an authentik or Ory implementation usually take?

No single duration fits both platforms, so treat any timeline as a function of scope and ask for it in writing. The main drivers are the number of applications, the protocol each one needs (OIDC, SAML, LDAP or proxy-based forward auth), how many user sources must sync, and how much login flow design is required. authentik's provider list covers OAuth2/OIDC, SAML, LDAP, proxy and RADIUS, so the count of apps needing individual configuration usually matters more than the protocol mix. Ory is API-first and lets teams build their own login UI, so the work includes front end, session handling and integration effort that the product does not supply. PostgreSQL high availability, backups, TLS and monitoring add time on either platform. DeployOpen's engagements are typically fixed-scope, with deliverables and timelines agreed in writing before work starts.

What does the team need from its own staff before implementation starts?

Plan for a named identity owner, an owner for each application, directory access, and control of DNS and TLS before any work begins. The identity owner decides login policy, MFA, group mapping and which edition is in scope. Each application owner confirms redirect URIs, claims, roles and the cutover date for their app. Directory access means read access to Active Directory, LDAP or an HR source, plus a service account with the rights your security team approves. DNS and TLS need a hostname for the identity service and certificates your team can rotate, and proxy-based protection needs a hostname for each protected app. Ask the implementer to list these inputs in the written scope so gaps surface before the schedule is affected.

Can our team run authentik or Ory ourselves, and at what scope?

Yes, a team with container, PostgreSQL and identity skills can run either platform in-house, and the scope decides how much work that is. A single authentik instance for a small set of internal apps is a contained job, and the Docker Compose guide positions Compose for test setups and small-scale production, calling for at least 2 CPU cores and 2 GB of RAM. Ory asks more of the team: Kratos, Hydra and Oathkeeper each need configuration, a login and consent UI built by your engineers, and their own upgrade path. Running either in-house also means upgrade windows, tested backups, on-call coverage for login failures and security review of every change. Outside help makes most sense for design, hardening, migration or handover, and a retainer covers ongoing upgrades and testing.

Is authentik core enough for production under its license?

For many self-hosted setups, yes. authentik core is MIT licensed, a permissive license, and the core is free to run in production. The catch is the code under authentik/enterprise, which falls under the authentik Enterprise Edition license and needs a paid subscription for production use. Enterprise-only features include Google Workspace and Microsoft Entra ID integrations, mTLS client certificate authentication, privileged access management, password history, enhanced audit logging and ticket-based support for subscriptions over $1k. If your requirements include Entra ID or Google Workspace sync, mTLS, PAM or enhanced audit logging, the core alone will not cover them. Compare your required features against the enterprise directory and pricing page, and have counsel confirm the license reading for your deployment. Free community support runs through Discord, so plan for your own on-call.

Who patches CVEs in Ory Open Source, and what does the enterprise license add?

No. Ory's documentation says Ory Open Source suits evaluation, development and deployments where occasional upgrade downtime is acceptable and guaranteed CVE patching is not required. Timely CVE patches and 24/7 support SLAs come with the Ory Enterprise License, which covers self-hosted, commercially supported builds of the same servers. Ory states that OEL builds are drop-in replacements for open source installations, so a later move may be simpler, but test that against your own version and configuration. The Kratos README also lists SCIM, SAML, organization login and CAPTCHAs as enterprise features absent from the open source version. If your security review asks for a patch timeline in writing, request it in the Ory license terms, since the open source documentation does not set one.

How DeployOpen helps choose, build or migrate authentik or Ory

DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. On authentik vs Ory, that means helping you decide which fits your login flows, protocols and license position, then building it in your environment with SSO, access control and audit logging your security team can review.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • For authentik, scope covers whether the MIT core is enough or the Enterprise license is needed for your features.
  • For Ory, scope covers which components you need (Kratos, Hydra, Keto, Oathkeeper or Polis) and the license edition.

How we build

  • Deploy the chosen platform in your own cloud, data center or air-gapped network, with its database configured for production.
  • For authentik, configure SSO providers, flows, outposts and Enterprise features the license covers, such as Entra ID or mTLS.
  • For Ory, build the login UI on Kratos and connect Hydra to your user store through headless APIs.

How we hand over

  • Written documentation of configuration, integrations, access rules, backup and upgrade steps, delivered with the platform.
  • Compliance-readiness evidence for SSO settings, admin roles and audit logging, for your auditors to assess.
  • Migration plan listing which users, applications and flows map cleanly and which need manual rework.

How we support

  • Upgrades are scoped against supported release lines; for authentik, that is 2026.5.x and 2026.8.x per its security policy.
  • For Ory, open source and Enterprise License builds differ on CVE patch timing and support, so confirm the edition.
  • Ongoing support, upgrades and continuous testing are available as retainers, quoted from the written scope.

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.