What does HackerNews think of hydra?

OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.

Language: Go

#7 in Docker
#29 in Hacktoberfest
#7 in Security
#2 in Server
> 10k M2M tokens for $250/month sounds like a really bad deal if I can just spin up https://github.com/ory/hydra that can easily handle 10k requests per second.

Spinning one up is easy, sure. Making sure it's production ready, is not so much.

If you are just looking to run a custom OAuth/OIDC server, Ory Hydra is ridiculously easy to set up.

Keycloak comes with the full IAM stack, so if you need that good; if you just need the OAuth server, its a bit much in my opinion. Have not tried Dex so can't speak to that.

https://github.com/ory/hydra https://github.com/keycloak/keycloak

Victor, congratulations on the launch! I am one of the maintainers at https://github.com/ory/hydra and it makes me super happy to see that Ory Hydra is being used for such innovative projects :)

If you’re interested to join Ory, we’d be excited to have you! Drop Aeneas a line and he’ll take it from there: [email protected]

Hopefully we’ll talk soon :)

Keto only does authorization, independent of users, devices, bots, applications, ... Basically you store your ACLs there and then ask "is _subject_ allowed to do _relation_ on _object_". All the variables are whatever you define them to be.

Check out https://github.com/ory/kratos, our identity server. Or https://github.com/ory/hydra, our OAuth2 server. All of them together can be assembled to have something like Keycloak.

The first vulnerability is in the title, OAuth is an Authorization framework (Open Authorization) and is explicitly NOT for authentication. It’s also a delegation protocol (I give you something to do on my behalf).

If you want a list of things that can go wrong, look here: https://tools.ietf.org/id/draft-ietf-oauth-security-topics-1...

Generally you probably do not need OAuth2: https://www.ory.sh/hydra/docs/concepts/before-oauth2/

But if you do don’t roll your own but use proven open source like https://github.com/ory/hydra

Don't implement your own, there's tons of open source that can do that, for example https://github.com/ory/hydra
Running an OAuth2 server isn't tremendously involved. There are good open-source projects like https://github.com/ory/hydra that are pretty easy to configure.
I went on a similar journey but for OpenID Connect. While the spec is fantastic https://openid.net/specs/openid-connect-core-1_0.html#Overvi..., I found the same thing to be true - very little explanation of why. For example, it's very clear how each flow works and therefore how to implement, but not clear why there are so many of them. While researching and building my own implementation I eventually ran into IdentityServer3 https://identityserver.github.io/Documentation/ which had a nice intro video explaining things clearly. I also quit building my own at that point, since their offering is very well done and using the same stack as the rest of our software. I wouldn't say the docs are a good resource, but they helped a bit. There's also a version 4 now, though the documentation looks about the same.

Also not a good resource, but acceptable: Pluralsight. There is one straight up OAuth course to go over all the basics and then quite a few language/framework specific ones, e.g. how to implement OAuth in Node/ASP.NET/etc. The OAuth course was dry but had some decent information - but I did quit halfway through it because of IdentityServer, so take that with a grain of salt.

And yes, it sure does feel more complicated than it has any right to be. There's a good read here https://hueniverse.com/oauth-2-0-and-the-road-to-hell-8eec45... by the once-lead-author.

I really do recommend checking out IdentityServer4 though, unless you're implementing this specifically to learn / have fun / etc. And if you don't care for the Microsoft ecosystem, I've heard nice things about Hydra https://github.com/ory/hydra which is a similar Go offering.

May be worth checking out https://github.com/ory/hydra and related projects by ory
Ory Hydra

https://github.com/ory/hydra

Open source OAuth / OpenID connect server

The docs, API and Docker images make it really easy to start developing against. Then the Docker images and database migration tools make it easy to deploy into our production infrastructure.

Also evaluating the other Ory tools like Keto, a policy engine.

The hackability of these is very attractive over closed services like Auth0.

The idea of the ory ecosystem ( https://github.com/ory / https://www.ory.am ) is to build a reliable, cloud native suite of tools which allow you to solve simple and complex IAM (identity and access management) use cases. Each service works standalone, but you can obviously combine them all.

The Oathkeeper proxy is one piece of the puzzle which basically takes incoming HTTP requests, evaluates them on a set of rules (e.g. authentication of credentials used, checking if the user has the right permissions, transforming the session data to a e.g. JWT) and either grants or denies access.

Other services include, for example, ORY Hydra ( https://github.com/ory/hydra ) which is an OAuth2 & OpenID Connect (certification pending) server that you can put "on top" of your existing user management.

While most developers opt to build these systems (permissions, user management) themselves, it is our vision to build a reliable, broadly adopted set of OSS tools that get you started quickly and that scale well as the requirements of your organization change.

Everything we do is build on top of open standards, we do not want to reinvent the wheel (unless nothing exists wrt to open standards). So everything in this ecosystem integrates well with existing systems.

If you have any questions, feel free to ask.

ps: New account because I lost my password and didn't set up a backup email. Stupid me.

It's really nice that we see more and more awareness for Zero Trust and specifically Google's BeyondCorp whitepaper. If you're looking to experiment with this model yourself, check out the following open source projects. While they might not implement everything in Google's BeyondCorp paper yet, they are pretty close to the full thing, and address many issues raised in the comments.

-> OAuth2 Authorization Server https://github.com/ory/hydra

-> Identity & Access Proxy (early access): https://github.com/ory/oathkeeper

If you have questions don't hesitate to ask.

As the author of a pluggable OAuth2 & OIDC Provider ( https://github.com/ory/hydra ) I am looking for an OSS IDP that solves just ID management. Is there a URL where I can expect this to land?
If you're not into reading the article itself and want to check out the technology first, here's the link to github: https://github.com/ory/hydra

If you have any questions, feel free to ask ahead.

I make over 700$ per month through patreon for my open source work, primarily https://github.com/ory/hydra . Hydra started as a side project for a work-for-hire project. After getting bashed by people for it being trash (it was, mostly due to bad dependencies but also due to bad architecture), I rewrote it (and the libraries enabling it) and now it's one of the go-to services for getting an OAuth2 server up and running. I am very stubborn and spent a ton of time on auth* questions while building other projects, and it seems like people like my approaches to it! :)

It's come so far now that I'm starting to consider this my full-time thing (I'm in the final stages of completing my MSc computer science) and I'm currently running evaluation on an API security platform based on that technology. Basically, I spend most of my time on it and I even got a small team helping me - but it's not what earns my living at the moment.

Before that I gathered a lot of experience from running and building https://en.serlo.org/ which is basically a Wikipedia for learning (I built the whole CMS from scratch) that serves over 1m MAUs in Germany (the english page is very sparse, most of it is on https://de.serlo.org ) and is thus on the most popular learning platforms in Germany. The company behind it is an NGO (= no profits) I cofounded and the platform is ad-free and doesn't cost anything. We get money through donations and other funds.

It's an exciting journey, I'm now at a point where I need to figure out how to actually make money on the web that doesn't come through donations and goodwill, but I think I can do it - why not, right?

By the way, you may also like the WYSIWYG editor I wrote - I also plan a static site generator based on it with a themeforest-y market place. Feel free to check those out:

* https://www.ory.am/sites/ * https://github.com/ory/editor

ps: It took me almost 2 years to get to 700$ at patreon and most of it comes from one sponsorship I'm very glad of. Their CTO texted me one day because he saw hydra on HN frontpage and he works in the identity space.