Security & Privacy · Identity & Access Management (IAM)
Ory
Composable open-source identity, OAuth, authorization, and API security
Ory is a Go-based collection of cloud-native identity and access services. Kratos manages identity and user flows, Hydra provides OAuth 2.0 and OpenID Connect, Keto evaluates authorization policies, and Oathkeeper protects services at the request boundary. The repositories use Apache-2.0. Ory also offers Network as a managed service and an Enterprise License for supported self-hosting.
Key facts
- License
- Apache-2.0
- Main language
- Go
- Maintainer
- Ory Corp
- Latest release
- Kratos v26.2.0 and Hydra v26.2.0, March 20, 2026
- GitHub stars
- Kratos: 13,931; Hydra: 17,621
- Hosted option
- Ory Network Developer: free; Production: $770/year; Growth: $9,350/year; Enterprise: custom
What Ory is
Ory is a collection of separate open-source security products maintained by Ory Corp. Hydra's repository was created on May 22, 2015, and Kratos's repository was created on May 29, 2018, while a third-party search excerpt identifies Kratos's first release as January 2020. Ory's company history identifies Ory Corp as founded in 2019 and reports $3.3 million in seed funding followed by a $22.5 million Series A in 2021. The Kratos repository listed 13,931 GitHub stars and Hydra listed 17,621 in the October 2026s. Ory identifies OpenAI, Blues Wireless, Segment, and Coinbase in company and product material. The company maintains the projects and offers hosted Network and enterprise self-hosted products around them.
How it works
Ory divides identity and access responsibilities across distinct services, so adoption can begin with one required capability and expand as application needs grow. Kratos provides API-first identity management for registration, login, recovery, verification, profiles, account management, multifactor authentication, passkeys, social sign-in, OIDC, magic links, SMS, SAML, and TOTP. Hydra provides OpenID Certified OAuth 2.0 and OpenID Connect through a separate login and consent application. Keto acts as a policy decision point for resource authorization. Oathkeeper authenticates JWTs, access tokens, API keys, and mTLS, checks authorization, and can add identity data to forwarded requests. This division gives product teams control over interfaces, while requiring explicit service integration and protocol ownership.
Architecture and recent releases
The repositories are primarily written in Go, with related JavaScript, TypeScript, HTML, Jsonnet, shell, and database-language files. Hydra describes binaries of 5 to 15 MB for common processor types and operating systems without Java, Node, Ruby, or libxml system dependencies, and its architecture targets Kubernetes, CloudFoundry, OpenShift, and similar orchestration systems. Kratos publishes Linux binaries, including SQLite variants, while Hydra publishes corresponding release assets. Kratos v26.2.0 and Hydra v26.2.0 were released on March 20, 2026. Kratos's release adds native passkey API flows, CAPTCHA strategies, account linking, database changes, and dependency updates. Hydra's release adds transaction retries, tracing, migration fixes, and a benchmarking tool. These version numbers apply per repository, not to one combined package.
License and pricing
Kratos and Hydra list the Apache License 2.0 in repository metadata, and Ory's deployment page separates Open Source, Ory Enterprise License, and Ory Network choices. The pricing page lists Network Developer as free, Production at $770 per year, Growth at $9,350 per year, and Enterprise as custom. Production includes one production and three staging environments, while Growth includes two production and five staging environments. Usage charges include active daily users, machine-to-machine tokens, and permission checks. Ory Enterprise License is custom priced for self-hosted deployments and lists full hosting control, enterprise integrations, premium support, and service-level agreements. Teams therefore need to distinguish repository licensing from hosted consumption, commercial support, and features assigned to paid offerings.
Limitations and how it compares
Ory's service separation shapes implementation and adoption. A team using Kratos must build or select the user interface for its API-driven flows, while a team using Hydra must provide the login and consent application. Adding Keto introduces policy modeling, and adding Oathkeeper introduces request-edge configuration. Compared with Keycloak's documented bundled identity and OAuth server model, Ory exposes separate headless services and a dedicated authorization decision point. Ory is a strong fit when custom interfaces, service boundaries, existing identity integration, or private infrastructure matter. It is less suitable when a small application wants one server with a ready-made interface. Network reduces hosting work, while self-hosting preserves infrastructure control but leaves integration and operations with the adopting team.
Main features
- Headless identity management. Kratos provides API-first registration, login, recovery, verification, profiles, account management, and multifactor authentication.
- OAuth and OIDC provider. Hydra provides OpenID Certified OAuth 2.0 and OpenID Connect through a separate login and consent application.
- Policy decision point. Keto determines whether subjects, applications, services, or other entities may act on specified resources.
- Identity access proxy. Oathkeeper authenticates tokens, API keys, and mTLS, checks authorization, and adds identity data to requests.
- Modern authentication methods. Kratos documents passkeys, social sign-in, magic links, multifactor authentication, SMS, SAML, and TOTP.
- Portable deployment. Ory documents open-source, enterprise self-hosted, and managed Network deployment options for different operating models.
Self-hosting Ory
Ory documents open-source deployment using individual components and presents an Enterprise License for supported self-hosting. Hydra describes small binaries for common processors and operating systems and targets orchestration systems such as Kubernetes, CloudFoundry, and OpenShift. Operators must connect selected services to their applications, including Hydra's required login and consent application. The official texts do not specify universal CPU, memory, database, backup, or monitoring requirements. Self-hosting therefore requires infrastructure, configuration, security, migration, and upgrade decisions that vary by component, deployment topology, and workload.
Strengths
- Apache License 2.0 permits commercial use, modification, redistribution, and private use.
- Separate services allow identity, OAuth, policy, and proxy capabilities to be selected independently.
- Kratos documents passkeys, social sign-in, multifactor authentication, SMS, SAML, and TOTP.
- Ory offers open-source, managed Network, and enterprise self-hosted deployment paths.
Drawbacks
- Hydra requires a separate login and consent application for user-facing authorization flows.
- Using multiple services requires additional integration and operational coordination.
- Enterprise self-hosting, support, and service-level agreements use custom pricing.
What teams replace with it
Teams usually evaluate Ory when they want to move off Auth0, Okta Customer Identity, Firebase Authentication, Amazon Cognito.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Ory
- Keycloak
- Authentik
- Zitadel
- SuperTokens
- ORY Hydra
Frequently asked questions
Is Ory free to use?
Kratos and Hydra list Apache License 2.0, and Ory presents open-source components for use and self-hosting. Ory Network has a free Developer tier, while the pricing page lists Production at $770 per year and Growth at $9,350 per year. Network Enterprise and Ory Enterprise License pricing are custom. Hosting, operations, and any commercial support remain separate from repository license fees.
Can a company use Ory commercially?
Apache License 2.0 permits commercial use, modification, redistribution, and private use for the listed repositories. A company can build applications around the components and run them on its infrastructure. Ory separately offers Network and Enterprise products. Premium integrations, support, and service-level agreements are commercial offerings, so terms depend on the selected component, version, deployment, and contract.
How do Kratos, Hydra, Keto, and Oathkeeper differ?
Kratos handles identity and user-management flows. Hydra provides OAuth 2.0 and OpenID Connect and connects to a login and consent application. Keto makes authorization decisions through policies. Oathkeeper is an identity and access proxy that authenticates requests, checks authorization, and can add identity information to forwarded requests. They are separate services that can be adopted together or independently.
How does Ory compare with Keycloak?
Ory separates identity management, OAuth and OpenID Connect, authorization decisions, and request protection into distinct services. Keycloak is commonly positioned as a bundled identity and OAuth server. Ory therefore offers more service boundaries and headless components, while Keycloak represents a more consolidated server model. The choice depends on interface control, integration requirements, operational capacity, and the preferred deployment model.
Can Ory be self-hosted?
Yes. Ory presents open-source deployment for its components and a separate Ory Enterprise License for supported self-hosting. The deployment page describes enterprise self-hosting as suitable for infrastructure controlled by the customer. Hydra's repository also states that it can be self-hosted and targets container orchestration systems. Operators remain responsible for connecting services, securing configuration, managing data, and performing upgrades.
Similar projects to compare
- KeycloakApache-2.0Keycloak is an Apache-2.0 identity and access management server for applications and services. It provides user federation, strong authentication, user management, fine-grained authorization, and OIDC and SAML integrations. Teams can run it from downloadable archives, a container image, or an operator. Red Hat also publishes a supported commercial build, while community deployments require operators to provide infrastructure, security configuration, databases, upgrades, and ongoing administration.
- AuthentikMIT (core), mixed repository; enterprise code under separate enterprise licenseAuthentik is an open-source identity provider for teams needing OIDC, OAuth2, SAML, LDAP, RADIUS, SCIM, and proxy access in one self-hosted service. Its core is MIT licensed, while enterprise code is separately licensed. There is no general hosted cloud product advertised, and enterprise pricing starts at $0.02 per external user monthly when billed annually.
- ZitadelAGPL-3.0-only, with Apache-2.0 and MIT directory exceptionsZITADEL is an identity and access-management server for customer and workforce applications, offering OIDC, OAuth 2.0, SAML, passkeys, MFA, organizations, and APIs. The v3 and later repository is AGPL-3.0-only with selected Apache-2.0 and MIT exceptions; ZITADEL Cloud starts free and paid Pro starts at $100 monthly.
- SuperTokensApache-2.0 outside ee; ee directory under separate licenseSuperTokens is an open-core authentication provider for developers adding login, sessions, user administration, and identity features to applications. The core outside the ee directory uses Apache-2.0, while the ee directory has a separate license. Teams can self-host the free open-source features or use SuperTokens Cloud, priced at $0.02 per monthly active user and free below 5,000 users.
- AuthgearApache-2.0Authgear is an Apache-2.0 open-source authentication and user-management platform maintained by Skymakers Digital Ltd. It supports self-hosting and Authgear Cloud, with a Free plan priced at $0 monthly. Documented capabilities include passwordless login, passkeys, MFA, social and enterprise login, SSO, user management, APIs, customizable interfaces, user import, and export.
- Better AuthMITBetter Auth is an MIT licensed, framework agnostic authentication and authorization framework for TypeScript. It embeds authentication in an application backend, supports application managed databases and stateless sessions, and offers email, password, social sign on, passkeys, magic links, usernames, and extensible plugins. Better Auth joined Vercel on July 7, 2026, while its open source framework remains framework and platform agnostic.