Headless is a trade-off, not a shortcut
Ory is built for teams that want identity APIs, not an identity UI. Kratos handles users and credentials, Hydra handles OAuth2 and OIDC, Keto handles authorization relationships, and Oathkeeper handles identity-aware proxying.
That gives a product team control over the login experience and the data model. It also moves the login screen, consent text, recovery flow, and session behaviour into the product’s own codebase.
The trade-off is explicit: more control, more integration work, and more operational surface.
When Ory fits
Ory is a strong fit when:
- The product needs a branded, custom login experience.
- The team is comfortable with APIs, containers, and Kubernetes.
- OIDC and OAuth2 are the primary protocols.
- Identity is part of the product, not a back-office utility.
- The team wants to own the user experience and the deployment.
It is a weak fit when the requirement is a ready-made admin console, a native SAML identity provider, or a small internal SSO deployment with no engineering owner.
The component boundary
A common mistake is deploying every Ory component because they exist. We start with the product requirement:
- Kratos for identity and credentials.
- Hydra for OAuth2/OIDC clients and consent.
- Keto for relationship-based authorization, where the product needs it.
- Oathkeeper for identity-aware proxying, where the architecture needs it.
Not every product needs all four. The boundary between Ory and the application’s own authorization model is a design decision, and it should be written down.
Operations and migration
A headless identity platform still needs a database, backup, restore, upgrades, monitoring, and secrets management. The application team also needs integration tests for login, recovery, consent, and token refresh.
Migration is staged. Users, password hashes, MFA enrollment, and external identity links are reviewed before the first cohort moves. The rollback path is defined before the cutover.
What this service is not
It is not a managed Ory Network subscription, a ready-made login UI, or a guarantee that every SAML application will fit. It is implementation and professional services on the self-hosted open-source components.