Kratos as identityt server and hydra as opn.Id/0auth provider guide #1656
-
Is your feature request related to a problem? Please describe. I've tried to look at the branch hydra-integration-2021 and to integrate kratos(latest version) and hydra via kratos-selfservice-ui-node, but I cannot finalzie the integration for two days now. Both document look well documented, but as they are big apps by their own it is hard to me to connect them and make them work together. I am searhcing for godo examples but there is not a clear step by step guide how to connect these two services. Describe the solution you'd like A docker setup that runs ory kratos as identity provider and hydra as open.Id/ 0Auth2 provider. Describe alternatives you've considered |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
Welcome, and sorry to hear that this is complicated! We have an issue tracking this #273 - it is currently tracked for v0.9.0 but depending on how it goes (the milestone is pretty large) it could also be pushed back to v0.10.0. My recommendation would be to start with Ory Kratos first, and then add Ory Hydra in at a later stage. This will make you comfortable with Ory Kratos! And depending on what you want to do will also take a bit of time. Once you have figured out how to best use Ory Kratos, the linked repo might make more sense and will be easier to adjust! |
Beta Was this translation helpful? Give feedback.
-
@tima-t https://github.com/atreya2011/go-kratos-test Diff All I did was follow all the UML diagrams in the docs and the reference implementations in Node. |
Beta Was this translation helpful? Give feedback.
-
Hey @azazel75 @AlimByWater @tima-t |
Beta Was this translation helpful? Give feedback.
@tima-t
I have created an extremely simple implementation here in Go. Should be easy to follow and translate to any other language of your choice.
Its WIP and does not have a README at the moment. Planning to add instructions of how to spin everything up within the next few days,
and add verification, recovery flows as well!
https://github.com/atreya2011/go-kratos-test
without hydra
https://github.com/atreya2011/go-kratos-test/tree/hydra
with hydra
Diff
https://github.com/atreya2011/go-kratos-test/compare/hydra
All I did was follow all the UML diagrams in the docs and the reference implementations in Node.
And as @aeneasr suggested, I first started with Kratos, got everything working and …