-
I've got Hydra running in K8S and I can perform the client credential flow. That process is pretty straight forward. However, I need to set up and test using Hydra with an external identity provider via OIDC for the auth code flow. In this case, the IdP would be Microsoft Azure Active Directory. I'm a little confused on exactly how to configure Hydra to work with Azure AD as an OIDC IdP (or any 3rd party IdP). We are not in control of the identity provider, we just need our app & Hydra to work with that provider for user authentication via OIDC. Has anyone here configured Hydra to work with an external identity provider like Azure AD (or even Okta/Auth0)? This is the flow I'm trying to accomplish:
Questions: Basically, I'm not clear on how, if at all, the IdP and Hydra work together and how to configure Hydra to accommodate that relationship. Perhaps they don't communicate and my app simply manages them separately. If they are separate, can I simply leave the consent URL parameter blank for Hydra, as the consent UI is managed by Azure AD? If anyone has done this and could help me better understand how to set this up I would be extremely grateful. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 39 replies
-
Could you use Ory Kratos instead? You can login with any OIDC provider, we also have a guide for Azure AD . |
Beta Was this translation helpful? Give feedback.
-
Hello @jfarleyx @tn185075 |
Beta Was this translation helpful? Give feedback.
Could you use Ory Kratos instead? You can login with any OIDC provider, we also have a guide for Azure AD .
Maybe the login flow for API clients?
It sounds to me as you are on the OAuth2/OIDC client side, rather than looking to become a OIDC server yourself.