Hello team!
I’m trying to perform a complete OAuth2 authorisation flow using the Ory products, Hydra and Kratos in Kubernetes, using the helm charts available. Can someone instruct me on this (maybe by providing a guideline doc), since I’ve been trying to do it on my own and faced so many difficulties in wiring them.
By now, I’ve managed to deploy all the components that we need in Minikube.
OAuth provider: Hydra
IdP: Kratos
Kratos sample UI (
https://github.com/ory/k8s/tree/master/helm/charts/kratos-selfservice-ui-node)
Consent: I’m using the consent endpoint of sample IdP given by Ory (
https://github.com/ory/k8s/tree/master/helm/charts/example-idp)
Now I’m working on the wiring and I managed to complete until the user authentication. But according to hydra documentation, hydra expects the IdP to send back the login_challenge parameter, to fetch login details (
https://www.ory.sh/docs/hydra/concepts/login#the-login-endpoint). But such an implementation is not there in Kratos. Therefore I’m stuck here in the authorization flow.
If someone can instruct me on this, it’ll be a great help!