Ory logo
background color

Ory Open Source: modular and modern IAM & CIAM

Open-source powered, fully customizable Identity and Access Management solutions. Use them all or bolt-on individual solutions.

Ory’s Open Source tools provide modern, fully customisable Identity and Access Management solutions. They are supported by a large community of developers improving them with every pull-request.

Compare deployment options

Ory Open Source

Evaluation and prototyping

Ory Enterprise License

Self-hosted, great for enterprises that require greater control (e.g. certified or air-gapped environments, and regulated industries)

Ory Network

Fully-managed, fastest path to production without operational overhead
Cross-platform benefits
Cross-platform benefits
Cross-platform benefits
Compliance and audit-ready (GDPR, PSD2, PCI-DSS, SOC 2, and others)
Compliance and audit-ready (GDPR, PSD2, PCI-DSS, SOC 2, and others)
Compliance-ready
Compliance and audit-ready (GDPR, PSD2, PCI-DSS, SOC 2, and others)
Global multi-region architecture
Global multi-region architecture
Multi-region capable
Global multi-region architecture
Purpose-based data retention
Purpose-based data retention
Purpose-based data retention
24/7 SLA support
24/7 SLA support
24/7 SLA support
CVE security patching
CVE security patching
CVE security patching
Unified control plane for ease of management
CLI
Unified control plane for ease of management
CLI / GUI
Unified control plane for ease of management
CLI / GUI / Terraform provider
Production Helm Charts
Production Helm Charts
Production Helm Charts
n/a
Managed infrastructure
Managed infrastructure
n/a
Managed infrastructure
Ory Kratos
Ory Kratos
Ory Kratos
High performance pooling
High performance pooling
High performance pooling
B2B Organizations
B2B Organizations
B2B Organizations
Admin onboarding portal
Admin onboarding portal
Admin onboarding portal
Social single sign-on
Social single sign-on
Social single sign-on
Purpose-based data retention
Purpose-based data retention
Purpose-based data retention
CAPTCHA
CAPTCHA
CAPTCHA
FedCM
FedCM
FedCM
Advanced identity search
Advanced identity search
Advanced identity search
Ory Hydra
Ory Hydra
Ory Hydra
OAuth 2.0 + OpenID Connect with OAuth 2.1 support*
OAuth 2.0 + OpenID Connect with OAuth 2.1 support*
OAuth 2.0 + OpenID Connect with OAuth 2.1 support*
OpenID Certified®
OpenID Certified®
OpenID Certified®
High performance pooling
High performance pooling
High performance pooling
Stateless JWT access tokens
Stateless JWT access tokens
Stateless JWT access tokens
Credential rotation
Credential rotation
Credential rotation
Token exchange
Token exchange
Token exchange
Resource Owner Password Credentials (ROPC)
Resource Owner Password Credentials (ROPC)
Resource Owner Password Credentials (ROPC)
Ory Polis
Ory Polis
Ory Polis
Custom Branding for Onboarding Portal
Custom Branding for Onboarding Portal
Custom Branding for Onboarding Portal
SAML & OIDC
SAML & OIDC
SAML & OIDC
Directory sync
Directory sync
Directory sync
Identity federation
Identity federation
Identity federation
Ory Keto
Ory Keto
Ory Keto
Concierge Onboarding
Concierge Onboarding
Concierge Onboarding
Optimized Permission Checks
Optimized Permission Checks
Optimized Permission Checks
OPA & RAG Integration
OPA & RAG Integration
OPA & RAG Integration

We operate around the clock
to make sure your IAM runs the
way you need it to — our stats
speak for themselves

2.5BIdentities managed
685.0MTotal Docker image pulls
48.0KGitHub stars overall
GlobalOperating in 3 continents

OpenAI wanted a partner that could help enable our vision for owning our identity processes, data, and success. We have a lot of partners, and Ory is one of our best.

Case study

Frequently asked questions

Ory Open Source ecosystem

Tools & Libraries

Ory Dockertest

Dockertest helps you boot up docker images for your Go tests with minimal work.

Tools & Libraries

Ory Fosite

Extensible OAuth 2.0 and OpenID Connect SDK for Go. Ory Hydra is based on this.

Tools & Libraries

Ory SDKs

SDKs for all popular programming languages, generated using openapi-generator.

Tools & Libraries

Ory Kubernetes Helm Charts

For a list of Helm charts and their configuration options please visit k8s.ory.sh.

Frontend

Ory Hydra TypeScript/ExpressJS User & Consent Provider

Implementation for the Ory Hydra User Login and Consent interface written in TypeScript and ExpressJS.

Frontend

Ory Kratos NextJS/React Single Page Application Example

Add login, registration, account recovery (password reset), account verification (email verification), social sign-in, multi-factor authentication to your NextJS/React App.

Frontend

Ory Kratos React Native User Interfaces

A React Native reference implementation of an app using Ory Kratos for login, sign up, profile settings, MFA/2FA, account recovery, and more.

Frontend

Ory Kratos NodeJS/ExpressJS User Interfaces

A reference implementation for Ory Kratos in NodeJS/ExpressJS/Handlebars/NextJS. It implements all Ory Kratos flows.

Frontend

Ory Kratos React/NextJS User Interfaces

This repository contains a reference implementation for Ory Kratos' in ReactJS / NextJS. It implements all Ory Kratos flows (login, registration, account settings, account recovery, account verification).

Tools & Libraries

Ory Herodot

A lightweight Go library for writing responses and errors to HTTP, serves millions of requests daily through Ory Hydra.

Tools & Libraries

Ory Graceful

Best practice HTTP server configurations and helpers for Go 1.8's HTTP graceful shutdown feature.

Tools & Libraries

Ory Ladon

An SDK for access control policies: authorization for the microservice and IoT age. Inspired by AWS IAM policies.

Tools & Libraries

Ory Go-Acc

A tool for reporting accurate Code Coverage in Golang. Cross platform (OsX, Windows, Linux).

Tools & Libraries

Ory CI

Automation tooling and robots for Ory's Continous Integration/Delivery pipelines.

Tools & Libraries

Ory X

Shared libraries used in the Ory ecosystem. Use at your own risk. Written in Go.

Tools & Libraries

Ory Encrypt-Dir

A very simple CLI helper that encrypts files in directories using AES-GCM (128bit).

Tools & Libraries

Ory Prettier Styles

The prettier config used by all Ory projects, on opinionated code styling focused on readability and clarity.

Tools & Libraries

Ory Redux Saga Fetch

A simple wrapper that reduces boilerplate code when using redux-saga in combination with async backend calls.

GitHub Action

Closed Reference Notifier

A GitHub action to open an issue when GitHub references in your code are closed.

GitHub Action

Build Buf Action

A GitHub action for working with protocol buffers, to build and lint protobuf using buildbuf.

GitHub Action

Milestone Action

Generates a markdown document based on milestones, issues, pull requests, and labels.

GitHub Action

Label Sync

A GitHub action that synchronizes issue labels across GitHub repositories.

GitHub Action

Ory Actions

Scripts for automating regular Ory CI tasks: Generating SDKs and changelogs as well as releasing new versions.

Deploy Ory on your preferred infrastructure

Deploy on any infrastructure and take full control over authentication and user workflows of your application.

page.tsx
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>
}

Try Ory today Start for free