
Secure, scalable identity management and user authentication is complex. Ory Kratos streamlines it with a headless, cloud-native identity management system that runs in the cloud or self-hosted — letting developers focus on building their applications.
Full control. A cloud-native identity management system that fits your stack.
Ory Kratos is a fully featured identity and user management system with a clean, API-first architecture. Run it cloud-native, self-hosted, or fully managed — you control every aspect through the headless API.

Łukasz Harasimowicz
Platform Team
Our system needs to handle sudden increases in traffic — authentication is always in the critical path for every request a user is making to our platform.
The Ory Kratos identity and user management system at a glance
Self service login and registration
Users create and sign in to accounts using username/email and password combinations, Social Login, passwordless flows, TOTP and more.
Multifactor Authentication
Implement proven standards of web security with FIDO2, WebAuthn, TOTP. Use Yubikeys, Google Authenticator or FaceID to reduce friction and increase security.
User management
Run a complete user management system: create, update, retrieve, and delete user identities through the API, with webhooks for lifecycle events. Full admin control over every identity in your system.
Bring your identity model
Use customizable identity models (defining custom fields such as name, address, favorite pet) and create your own interfaces in your style and branding.
Social Login & SSO
Let users sign in with Google, GitHub, Apple, and any OIDC provider. Single sign-on (SSO) with the social and enterprise identity providers your users already trust.
Account verification and recovery
Verify an identity by checking the email, phone number, or physical address of that user. Provide recovery of accounts using "Forgot Password" flows, security codes, etc.
How to de-risk identity at scale with Ory
OSS is where most teams start. The question is whether it holds up as scale, compliance, and security requirements grow. Running identity infrastructure yourself means owning everything, from patches to incident response, compliance controls, and performance tuning. At enterprise scale, that overhead competes with product innovation. Ory's commercial offerings, OEL and Ory Network, trade that burden for SLA-backed support, managed CVE patching, and audit-ready controls.
OSS
OEL
Ory Network
Deploy Ory Kratos on your preferred infrastructure
Self-hosted to SaaS: full control over your infrastructure, data, and compliance.
Ready to try Ory Kratos?
Get started with the guides and docs below
import React, { useEffect, useState } from "react"
import { FrontendApi, Configuration, Session } from "@ory/client"
const basePath = "https://ory.example.com"
const ory = new FrontendApi(
new Configuration({
basePath,
baseOptions: { withCredentials: true },
}),
)
function Example() {
const [session, setSession] = useState<Session | undefined>()
useEffect(() => {
ory
.toSession()
.then(({ data }) => {
setSession(data)
})
.catch((err) => {
console.error(err)
// Not signed in, redirect to login
window.location.replace(`${basePath}/self-service/login/browser`)
})
}, [])
if (!session) {
return <p>No session found.</p>
}
return <p>Welcome to, {session?.identity.traits.email}.</p>
}
More on Ory Kratos
Ory Kratos FAQ
- Frictionless Global Onboarding - User drop-off during registration is a major revenue killer. Ory Kratos provides the building blocks for modern, high-conversion entry points. Rapidly implement Social Sign-In (OIDC), Passwordless flows, and Magic Links to reduce sign-up friction and directly increase conversion rates and decrease time-to-value for new users.
- Hardened Security without Developer Overhead - Building secure account recovery, MFA, and verification flows from scratch is error prone, time consuming, and takes time away from building your actual products and services. Ory Kratos comes with "battle-hardened" flows for MFA (TOTP, WebAuthn/FaceID), account verification, and secure recovery out of the box. This allows your engineering team to stop "re-inventing the wheel" of security protocols and focus 100% of their energy on building your business.
- Own Your Brand, Own Your User Experience - Legacy providers often force you to redirect users to a "generic" login page, breaking your brand's look and feel. Ory Kratos is headless. It handles the complex logic of authentication via APIs while your team maintains total control over what users see. This ensures a seamless brand experience from the very first click, which is critical for high-end B2B and consumer applications.
- Compliance and Audit-Ready Infrastructure - Navigating GDPR, SOC2, and regional data residency requirements is a significant legal and operational burden. Whether you need to host data in a specific region for GDPR or require an air-gapped environment for high-security sectors, Ory Kratos’ flexible deployment (Cloud, On-Prem, or Hybrid) provides an "audit-ready" foundation wherever you need it.
- password-based login
- social login via any OpenID Connect provider (Google, GitHub, Apple, Facebook, and 15+ preconfigured providers),
- TOTP (Google Authenticator, FreeOTP)
- WebAuthn/FIDO2 (YubiKey, FaceID, TouchID, Windows Hello)
- passkeys for passwordless login, SMS OTP, email OTP, magic links, and lookup/recovery codes as a backup method









