Skip to content

hydra

Self-hosted OAuth 2.0 and OpenID Connect server for teams with their own login system

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

28

Health

Dormant

Overview

Stars

17,676

Last commit

4 months ago

Jul 2026

Repository age

11 years

since May 2015

Latest version

v26.2.0

Mar 2026

Contributors

–

Releases

1

last 12 months

Language

Go

Ory Hydra is an OAuth 2.0 server and OpenID Connect provider written in Go. It issues and validates tokens, manages clients, handles JWKS and orchestrates login and consent flows. It is certified by the OpenID Foundation as an OpenID Provider, including the Basic, Implicit, Hybrid and Dynamic profiles.

Hydra does not manage users. You connect it to your existing identity system through a login and consent app that you build or adapt, so you control the full user interface. It works with Ory Kratos, authboss, or a proprietary authentication endpoint. It implements the IETF standards for token revocation, introspection, PKCE, dynamic client registration and native apps, plus OpenID Connect front-channel and back-channel logout.

You can self-host it under the Apache-2.0 license, install it with Homebrew on macOS and Linux, or use the managed Ory Network, which has a paid plan. It suits Kubernetes and other cloud setups. It is a building block for teams replacing hosted identity services that bundle OAuth with user management.

Who it's for

Platform teams with an existing user database

Hydra adds standards-compliant OAuth 2.0 and OpenID Connect on top of your current login without migrating users.

Skip if: You want a ready-made user directory with sign-up screens and an admin console out of the box.

Companies building a single sign-on provider for their own apps

Certified OpenID Provider profiles and dynamic client registration cover common SSO needs.

Skip if: You only need to add social login to one app and do not need to issue tokens yourself.

Kubernetes operators who need low-footprint auth infrastructure

It is a Go service built for low latency and high throughput in cloud-native setups.

Skip if: You lack the time to build and maintain a login and consent app.

The problem it solves

You need to issue OAuth 2.0 and OpenID Connect tokens for your apps and partners, but hosted identity products lock you into their user store and screens. Hydra lets you keep your own login system and interface while handling the protocol correctly.

Strengths

  • OpenID Foundation certified across Basic, Implicit, Hybrid and Dynamic provider profiles
  • Works with any authentication backend through a login and consent app
  • Implements PKCE, token introspection, revocation and dynamic client registration
  • Apache-2.0 license with an optional managed service on Ory Network
  • Installable with Homebrew or run as a service on Kubernetes

Trade-offs

  • No user management, so you must supply login, consent and user storage
  • No commits from contributors in the last 90 days and one release in the past year
  • You build and secure the login and consent UI yourself
  • Enterprise features sit behind a separate Ory license

Self-host hydra

Self-hostable
Yes
Hosted plan
From $64.17/month · pricing

Frequently asked questions

Is Ory Hydra free?

Yes. It is released under Apache-2.0 and you can self-host it at no cost. A paid managed option exists on the Ory Network.

Can I self-host it?

Yes. You can run it on your own servers, with or without the Ory Enterprise License.

Does it manage user accounts?

No. It is a standalone OAuth 2.0 and OpenID Connect server. You connect it to your own login system, such as Ory Kratos.

Is it certified?

Yes. It is an OpenID Foundation certified OpenID Provider across several profiles.

Similar tools in Identity and access management

JumpServer

Identity and access management

Open-source bastion host for DevOps teams controlling SSH, RDP and database access

32k 5.8k today Thriving GPL-3.0

Logto

Identity and access management

Self-hostable auth for multi-tenant SaaS with SSO, RBAC and OIDC

15k 1.2k today Thriving MPL-2.0

Replaces Auth0

oauth2-proxy

Identity and access management

Reverse proxy that puts OAuth2 and OIDC login in front of any web app

15k 2.3k 15 days ago Active MIT

Permify

Identity and access management

6k 332 8 days ago Thriving AGPL-3.0

VoidAuth

Identity and access management

Self-hosted SSO provider with OIDC, ForwardAuth and LDAP for home labs and small setups

2.9k 136 today Thriving AGPL-3.0

Supertokens

Identity and access management

Self-hosted login and session management for developers who own their user data

15k 777 17 days ago Active Apache-2.0 + open core

Replaces AWS CognitoFirebase Auth