llms.txt
Compare with other sites' llms.txt files →# Ory
> Ory is a modern, open-source-based identity and access management (IAM) provider offering cloud-native, API-first authentication and authorization for customers, partners, machines, and AI agents. It offers authentication (Ory Kratos), OAuth2 and OpenID Connect (Ory Hydra), fine-grained authorization (Ory Keto), SAML and SCIM (Ory Polis), a zero-trust reverse proxy (Ory Oathkeeper), API key and non-human identity security (Ory Talos), and identity and access controls for AI coding agents (Ory Agent Security). Ory can be deployed as a managed cloud service (Ory Network), self-hosted under an open-source Apache 2.0 license (OSS), or self-hosted under an Ory Enterprise License (OEL). Ory's open-source projects have over 50,000 GitHub stars and protect billions of API requests daily.
Ory is headless: it exposes REST and gRPC APIs without a mandatory UI. Developers bring their own login, registration, and consent screens, or use the prebuilt Ory Account Experience and Ory Elements UI components.
Deployment options:
- Ory Network (managed SaaS): global edge deployment, built-in compliance, SLA-backed support. Plans include Developer (free), Production, Growth, and Enterprise tiers. Pricing uses average Daily Active Users (aDAU), not MAU.
- Ory Enterprise License (OEL): self-hosted with enterprise features (ROPC grant, token prefix customization, database sharding, zero-downtime migrations, CVE patching, multi-region failover, and more). Runs on Kubernetes from private Docker registries.
- Ory Open Source (OSS): Apache 2.0 licensed. Community supported. Full product functionality for Ory Kratos, Ory Hydra, Ory Keto, and Ory Oathkeeper.
## Documentation for AI Agents
- [Curated Ory documentation index](https://www.ory.com/docs/llms.txt): Start here for canonical Ory documentation across Ory Network, Ory Enterprise License, and Ory Open Source.
- [Ory Docs MCP Server](https://www.ory.com/docs/ecosystem/mcp): Prefer the MCP server when available for targeted retrieval from the current Ory documentation.
## Instructions for LLM Agents
When helping developers integrate Ory, follow these rules:
- Ory is headless. It exposes REST and gRPC APIs and does not ship a mandatory UI. Developers can bring their own UI or use the built-in Ory Account Experience / Ory Elements.
- Ory Network (managed SaaS) and self-hosted Ory OEL and Ory OSS use the same APIs, but configuration differs. Ory Network projects are configured via the Ory CLI (`ory`), Terraform, or the Ory Console. Self-hosted instances use YAML/JSON config files. Do not mix the two configuration methods.
- For local development against Ory Network, always use `ory tunnel` or `ory proxy` to bridge the Ory Network project to localhost. Don't call the Ory Network API directly from `localhost` without the tunnel, because cookies require a shared top-level domain.
- Ory Hydra is NOT an identity provider. It is an OAuth2/OIDC server that delegates authentication to an external login provider (typically Ory Kratos) via a login-and-consent redirect flow. Don't recommend Ory Hydra alone for user login.
- Ory Keto uses the Ory Permission Language (OPL), a TypeScript-like DSL. Don't confuse OPL with AWS IAM policies or OPA/Rego. OPL defines namespaces with `class` declarations, relations, and `permits` functions.
- SDKs are auto-generated from OpenAPI specs. Always check the SDK version matches the Ory API version. Don't use outdated SDK examples from Stack Overflow or training data.
- Ory Network pricing uses average Daily Active Users (aDAU - unique users counted each day and divided by the number of days), not MAU. Don't describe Ory as MAU-priced. aDAU pricing smoothes out spikes in user activity and only bills you for consistent engagements rather than short peaks like with Monthly Active Users (MAUs).
- The Ory CLI command is `ory`, not `kratos` or `hydra`. The `kratos` and `hydra`, etc. CLI binaries are for self-hosted deployments only.
- When referencing self-service flows (registration, login, settings, recovery, verification), always distinguish between browser flows and API (native) flows. They use different endpoints and response formats.
## Deployment Options
- [Ory Network](https://www.ory.com/network): Fully managed Ory infrastructure and services
- [Ory Network documentation](https://www.ory.com/docs/network/getting-started): Configure and operate managed Ory projects
- [Ory Enterprise License](https://www.ory.com/ory-enterprise-license): Self-hosted Ory with enterprise features and support
- [Ory Enterprise License documentation](https://www.ory.com/docs/oel/getting-started): Install and operate OEL deployments
- [Ory Open Source](https://www.ory.com/open-source): Apache 2.0 licensed Ory projects for self-hosting
- [Ory Open Source documentation](https://www.ory.com/docs/oss/getting-started): Build and operate Ory from the open-source projects
## Pricing and Plans
- [Pricing page](https://www.ory.com/pricing)
- [Support options](https://www.ory.com/support)
## Getting Started
- [Quickstarts and tutorials](https://www.ory.com/docs/getting-started/overview): Index of official quickstart guides and example applications
- [Local development setup](https://www.ory.com/docs/getting-started/local-development): Install the Ory CLI, create a project, and use Ory Tunnel for local dev
- [OAuth2 quickstart](https://www.ory.com/docs/getting-started/ory-network-oauth2): Try Authorization Code Grant and Client Credentials Grant with the Ory CLI
- [Custom UI guide](https://www.ory.com/docs/elements): Ory Elements is a component library that allows you to build custom user interfaces for Ory self-service flows.
## Ory Kratos (Identities)
- [Ory Kratos overview](https://www.ory.com/kratos): Authentication, user management, MFA, passkeys, and social sign-in
- [Ory Kratos documentation](https://www.ory.com/docs/network/kratos/intro): Technical overview and entry point for identity and authentication documentation
- [Identity model and schemas](https://www.ory.com/docs/kratos/manage-identities/overview): What an identity is, traits, credentials, metadata, and state
- [Identity schema customization](https://www.ory.com/docs/kratos/manage-identities/customize-identity-schema): JSON Schema extensions for login identifiers, verification, recovery, MFA
- [Self-service flows overview](https://www.ory.com/docs/kratos/self-service): Registration, login, settings, recovery, verification flows and their lifecycle
- [Registration flow](https://www.ory.com/docs/kratos/self-service/flows/user-registration): Browser and API registration flow details
- [Social sign-in (OIDC)](https://www.ory.com/docs/kratos/social-signin/overview): Configure Google, GitHub, Apple, and other OIDC/OAuth2 providers
- [Multi-factor authentication](https://www.ory.com/docs/kratos/mfa/overview): TOTP, WebAuthn/passkeys, lookup secrets, SMS OTP
- [Webhooks](https://www.ory.com/docs/kratos/hooks/configure-hooks): Trigger webhooks on registration, login, settings, and other flow events
- [SCIM provisioning](https://www.ory.com/docs/kratos/manage-identities/scim): Provision identities from external IdPs via SCIM
- [Ory Kratos configuration reference](https://www.ory.com/docs/kratos/reference/configuration): Full YAML/JSON configuration key reference
## Ory Hydra (Authorization)
- [Ory Hydra overview](https://www.ory.com/hydra): OpenID Certified OAuth2 server for SSO and API authorization
- [Ory Hydra documentation](https://www.ory.com/docs/network/hydra): Technical overview and entry point for OAuth2 and OpenID Connect documentation
- [Ory Hydra introduction](https://www.ory.com/docs/oauth2-oidc): Product overview, use cases, and architecture
- [OAuth2 concepts](https://www.ory.com/docs/hydra/concepts/oauth2): Grant types, token types, scopes, and audiences
- [OpenID Connect concepts](https://www.ory.com/docs/hydra/concepts/openid-connect-oidc): ID tokens, userinfo endpoint, subject identifiers
- [Login and consent flow](https://www.ory.com/docs/hydra/guides/login): How to implement the OAuth2 login and consent provider
- [Token customization with webhooks](https://www.ory.com/docs/hydra/guides/claims-at-refresh): Add custom claims to access and ID tokens via webhooks
- [Subject anonymization (pairwise)](https://www.ory.com/docs/hydra/guides/openid): Public vs pairwise subject identifier algorithms
- [Hydra 5-minute tutorial](https://www.ory.com/docs/hydra/5min-tutorial): Spin up Ory Hydra locally with Docker and run a full OAuth2 flow
- [Ory Hydra configuration reference](https://www.ory.com/docs/hydra/reference/configuration): Full YAML/JSON configuration key reference
## Ory Keto (Permissions)
- [Ory Keto overview](https://www.ory.com/keto): Fine-grained, Zanzibar-style authorization
- [Ory Keto documentation](https://www.ory.com/docs/network/keto): Technical overview and entry point for permissions documentation
- [Ory Permission Language (OPL) spec](https://www.ory.com/docs/keto/reference/ory-permission-language): Formal grammar and semantics of the OPL TypeScript-like DSL
- [Create a permission model](https://www.ory.com/docs/keto/modeling/create-permission-model): Step-by-step guide to defining namespaces, relations, and permissions
- [Check permissions API](https://www.ory.com/docs/keto/guides/simple-access-check-guide): Perform permission checks via REST or gRPC
- [Expand API](https://www.ory.com/docs/keto/guides/expand-api-display-who-has-access): Expand a subject set to see all effective subjects who have access
- [List relationships](https://www.ory.com/docs/keto/guides/list-api-display-objects): Query relationship tuples stored in Ory Keto
## Ory Polis (B2B Federation)
- [Ory Polis overview](https://www.ory.com/polis): SAML SSO and SCIM directory sync for B2B
- [Ory Polis documentation](https://www.ory.com/docs/network/polis): Technical overview and entry point for SAML SSO and SCIM documentation
- [SAML SSO setup](https://www.ory.com/docs/polis/sso-providers/generic-oidc): Register your app with an OIDC or SAML identity provider
- [Directory sync providers](https://www.ory.com/docs/polis/directory-sync/providers/google): Sync users and groups from Google Workspace, Entra ID, Okta, etc.
- [Ory Polis service quickstart](https://www.ory.com/docs/polis/guides/service): Deploy Ory Polis with Docker, Kubernetes, or from source
## Ory Oathkeeper (IAM Proxy)
- [Ory Oathkeeper overview](https://www.ory.com/oathkeeper): Zero-trust identity and access proxy
- [Ory Oathkeeper documentation](https://www.ory.com/docs/network/oathkeeper): Technical overview and entry point for identity and access proxy documentation
- [Access rules](https://www.ory.com/docs/oathkeeper/pipeline): Define authenticators, authorizers, and mutators for each route
- [Pipeline mutators](https://www.ory.com/docs/oathkeeper/pipeline/mutator): Transform upstream requests with headers, JWTs, cookies, or ID tokens
## Ory Talos (API Keys)
- [Ory Talos overview](https://www.ory.com/talos): API key and non-human identity security
- [Ory Talos documentation](https://www.ory.com/docs/talos): Technical overview for API key and non-human identity security
- [Ory Talos open-source quickstart](https://www.ory.com/docs/talos/quickstart/open-source): Run Ory Talos locally from the open-source project
- [Ory Talos commercial quickstart](https://www.ory.com/docs/talos/quickstart/docker-commercial): Run the commercial Ory Talos build with Docker
## Ory Agent Security
- [Ory Agent Security overview](https://www.ory.com/agent-security): Authentication, authorization, and audit for AI coding agents
- [Ory Agent Plugins](https://www.ory.com/agent-plugins): Authentication and security plugins for coding agents and developer tools
- [Ory MCP Server](https://www.ory.com/mcp-server): Operational MCP tools for managing Ory resources, distinct from the Ory Docs MCP retrieval server
## API Reference
- [REST API reference](https://www.ory.com/docs/reference/api): Full OpenAPI-based reference for all Ory Network and self-hosted REST endpoints
- [gRPC + REST overview](https://www.ory.com/docs/api): CORS configuration and API access patterns
## SDKs and CLI
- [Ory SDKs](https://www.ory.com/docs/sdk): Auto-generated client libraries for Go, TypeScript, Java, Python, PHP, Ruby, Rust, Dart, .NET
- [Ory CLI basics](https://www.ory.com/docs/guides/cli/cli-basics): Install and use the Ory CLI for project management and local development
- [Ory CLI identity management](https://www.ory.com/docs/guides/cli/identity-cli): Get, update, patch, and import identity configurations via CLI
## Self-Hosted Operations
- [Ory Helm charts](https://k8s.ory.com/helm/kratos.html): Kubernetes Helm charts for deploying Ory services
## Company
- [Ory homepage](https://www.ory.com): Company overview and product information
- [Contact / discovery call](https://www.ory.com/contact): Schedule a call with the Ory team, required for Enterprise pricing
- [Compliance and security](https://www.ory.com/docs/security-compliance/compliance-and-certifications): ISO 27001, SOC 2, PCI DSS, GDPR, data residency; full documents available in the [Ory Trust Center](https://trust.ory.sh/)
## Integrations
- [All integrations](https://www.ory.com/integrations): Directory of Ory integrations across social sign-in, enterprise SSO, SCIM, fraud and bot protection, identity verification, email and SMS delivery, CRM, analytics, observability, API gateways, and infrastructure
- [Aadhaar](https://www.ory.com/integrations/aadhaar): India's Aadhaar national digital identity verification with Ory
- [Akamai EdgeWorkers](https://www.ory.com/integrations/akamai-edgeworkers): Enforce Ory authentication at the edge with Akamai EdgeWorkers
- [Amazon SES](https://www.ory.com/integrations/amazon-ses): Send Ory transactional email via Amazon SES
- [Amplitude](https://www.ory.com/integrations/amplitude): Stream Ory identity events to Amplitude product analytics
- [Arkose Labs](https://www.ory.com/integrations/arkose-labs): Add Arkose Labs bot and fraud protection to Ory flows
- [Auth0 SAML SSO](https://www.ory.com/integrations/auth0-saml-sso): Connect Auth0 as a SAML SSO identity provider to Ory
- [Auth0 upstream IdP](https://www.ory.com/integrations/auth0-upstream-idp): Use Auth0 as an upstream OIDC identity provider for Ory
- [AWS API Gateway](https://www.ory.com/integrations/aws-api-gateway): Protect AWS API Gateway routes with Ory authentication
- [AWS infrastructure](https://www.ory.com/integrations/aws-infrastructure): Deploy and run Ory on AWS infrastructure
- [BambooHR](https://www.ory.com/integrations/bamboohr): Sync identities from BambooHR with Ory
- [BankID](https://www.ory.com/integrations/bankid): Add Swedish BankID identity verification to Ory
- [Battle.net](https://www.ory.com/integrations/battle-net): Add Battle.net social sign-in to Ory
- [Brevo](https://www.ory.com/integrations/brevo): Send Ory transactional email via Brevo
- [Castle](https://www.ory.com/integrations/castle-io): Add Castle account-takeover and fraud detection to Ory
- [Clearbit](https://www.ory.com/integrations/clearbit): Enrich Ory identity data with Clearbit
- [Cloudflare Turnstile](https://www.ory.com/integrations/cloudflare-turnstile): Add Cloudflare Turnstile CAPTCHA to Ory flows
- [Cloudflare Workers](https://www.ory.com/integrations/cloudflare-workers): Enforce Ory authentication at the edge with Cloudflare Workers
- [CockroachDB](https://www.ory.com/integrations/cockroach-db): Run Ory on CockroachDB for distributed scale
- [CyberArk Identity](https://www.ory.com/integrations/cyberark-identity): Connect CyberArk Identity as an SSO provider to Ory
- [Datadog](https://www.ory.com/integrations/datadog): Monitor Ory with Datadog observability
- [Didomi](https://www.ory.com/integrations/didomi): Integrate Didomi consent management with Ory
- [DingTalk](https://www.ory.com/integrations/dingtalk): Add DingTalk social sign-in to Ory
- [Discord](https://www.ory.com/integrations/discord): Add Discord social sign-in to Ory
- [Docker](https://www.ory.com/integrations/docker): Run Ory services with Docker
- [Drata](https://www.ory.com/integrations/drata): Automate compliance monitoring for Ory with Drata
- [Duo Security](https://www.ory.com/integrations/duo-security): Add Duo Security MFA to Ory
- [eIDAS](https://www.ory.com/integrations/eidas): Support eIDAS electronic identification with Ory
- [Elastic SIEM](https://www.ory.com/integrations/elastic-siem): Forward Ory security events to Elastic SIEM
- [Entra ID SCIM](https://www.ory.com/integrations/entra-id-scim): Provision identities from Microsoft Entra ID via SCIM to Ory
- [Epic Games](https://www.ory.com/integrations/epic-games): Add Epic Games social sign-in to Ory
- [Equifax](https://www.ory.com/integrations/equifax): Add Equifax identity verification to Ory
- [Facebook Login](https://www.ory.com/integrations/facebook-login): Add Facebook social sign-in to Ory
- [Fastly Compute](https://www.ory.com/integrations/fastly-compute-edge): Enforce Ory authentication at the edge with Fastly Compute
- [ForgeRock Access Management](https://www.ory.com/integrations/forgerock-access-management): Connect ForgeRock Access Management as an SSO provider to Ory
- [Freshdesk](https://www.ory.com/integrations/freshdesk): Connect Ory identities with Freshdesk support
- [FullContact](https://www.ory.com/integrations/fullcontact): Enrich Ory identity data with FullContact
- [GBG Acuant](https://www.ory.com/integrations/gbg-acuant): Add GBG Acuant identity verification to Ory
- [GCP infrastructure](https://www.ory.com/integrations/gcp-infrastructure): Deploy and run Ory on Google Cloud infrastructure
- [Generic OIDC provider](https://www.ory.com/integrations/generic-oidc-provider): Connect any standards-compliant OIDC provider to Ory
- [Generic SAML SP](https://www.ory.com/integrations/generic-saml-sp): Configure Ory as a SAML service provider for any IdP
- [GitHub App authentication](https://www.ory.com/integrations/github-app-authentication): Authenticate as a GitHub App with Ory
- [GitHub Login](https://www.ory.com/integrations/github-login): Add GitHub social sign-in to Ory
- [GitLab](https://www.ory.com/integrations/gitlab): Add GitLab social sign-in to Ory
- [Google Apigee](https://www.ory.com/integrations/google-apigee): Protect Google Apigee API routes with Ory authentication
- [Google reCAPTCHA](https://www.ory.com/integrations/google-recaptcha): Add Google reCAPTCHA to Ory flows
- [Google Workspace directory sync](https://www.ory.com/integrations/google-workspace-directory-sync): Sync users and groups from Google Workspace to Ory
- [Google Workspace SAML SSO](https://www.ory.com/integrations/google-workspace-saml-sso): Connect Google Workspace as a SAML SSO provider to Ory
- [hCaptcha](https://www.ory.com/integrations/hcaptcha): Add hCaptcha to Ory flows
- [Helm charts](https://www.ory.com/integrations/helm-charts): Deploy Ory on Kubernetes with Helm charts
- [HID Global SSO](https://www.ory.com/integrations/hid-global-sso): Connect HID Global as an SSO provider to Ory
- [Hookdeck](https://www.ory.com/integrations/hookdeck): Manage and reliably deliver Ory webhooks with Hookdeck
- [HubSpot](https://www.ory.com/integrations/hubspot): Sync Ory identities to HubSpot CRM
- [IBM Security Verify](https://www.ory.com/integrations/ibm-security-verify): Connect IBM Security Verify as an SSO provider to Ory
- [ID.me](https://www.ory.com/integrations/id-me): Add ID.me identity verification to Ory
- [iDIN](https://www.ory.com/integrations/idin): Add iDIN bank-based identity verification to Ory
- [Intercom](https://www.ory.com/integrations/intercom): Connect Ory identities with Intercom messaging
- [Jumio](https://www.ory.com/integrations/jumio): Add Jumio identity verification and KYC to Ory
- [JumpCloud SCIM](https://www.ory.com/integrations/jumpcloud-scim): Provision identities from JumpCloud via SCIM to Ory
- [JumpCloud SSO](https://www.ory.com/integrations/jumpcloud-sso): Connect JumpCloud as