
Ory
Ory Kratos is an Apache-2.0 headless identity and user-management service for registration, login, profile management, recovery, verification, sessions, social sign-in, MFA, and passkey flows. It repl
Replaces —

Who it's for
Ory Kratos helps teams remove risky homegrown identity code while keeping custom application UI and API control.
Use a hosted auth provider if your team wants prebuilt login screens, admin UI, and managed operations immediately.
Headless flows fit products where login, registration, and profile management must match a custom user experience.
Skip it if your application can use a framework auth library and does not need a separate identity service.
The problem
Homegrown authentication tends to accumulate risk: password resets, session management, account recovery, MFA, social login, identity verification, and profile data all become security-critical code. Teams often underestimate the long-term maintenance and incident cost.\u000A\u000AHosted identity products reduce risk but can limit customization, data residency, and pricing control. Developer teams need a way to compose identity flows through APIs without treating login as a closed black box.
How it works
Ory Kratos provides API-first registration, login, recovery, verification, and profile flows. Teams can build custom user interfaces while relying on a dedicated identity backend.
Kratos supports self-service identity flows such as passkeys, social sign-in, multi-factor authentication, recovery, verification, and profile management. OAuth2 and OpenID Connect server functionality belongs to Ory Hydra, not Kratos alone.
Ory positions Kratos as cloud-native and runnable across environments, with Ory Network available for managed operation. Teams can choose between self-hosting and managed identity infrastructure.
Features
- Headless identity flows
- Modern sign-in options
- Cloud-native deployment
Recommended for this setup
Strengths
- API-first auth without UI lock-in: Ory lets product teams own the user interface while delegating identity state and flows to a dedicated service. This is valuable for brands with custom UX requirements.
- Permissive core license: Apache-2.0 licensing makes Kratos easier to adopt commercially than copyleft identity servers. Teams still need to review Ory Network and adjacent product terms separately.
Trade-offs
- Composable identity has complexity: Ory is flexible because it is modular, but that also means teams must understand the Ory ecosystem and wire the right components for their use case.
- No hosted UI shortcut by default: Kratos is headless, so teams own the login and account UI. That is a strength for custom products but extra work compared with hosted identity pages.
Tech stack
FAQ
Ory Kratos is a headless identity and user-management service. It handles registration, login, recovery, verification, sessions, and profile management through APIs.
Yes. Ory Kratos is Apache-2.0 licensed. Ory also offers Ory Network for managed operation.
Ory gives developers API-first identity infrastructure with self-hosting options, and the broader Ory ecosystem covers adjacent OAuth2 and OIDC server needs through Hydra. Auth0 is a managed proprietary identity product with hosted UI and enterprise packaging.