Is it possible to use Hydra to wrap a non-OIDC pro...
# talk-hydra
h
Is it possible to use Hydra to wrap a non-OIDC provider? I have a provider that exposes OAuth 2.0 (but not OpenID Connect), and I am trying to integrate it with Kratos which only supports OIDC
f
what flow are you trying to do, or what does the scenario look like?
b
I'm also planning to do this for a small personal project (website, no native clients), although I've been busy with other things so it's all on paper for now. I would like my project to have an invite only account system, but users could skip the invite if their account on another platform satisfy certain requirements. This other platform is pretty small and niche, certainly not Google Facebook Twitter scale. They have OAuth 2 (but no OIDC) and a few simple APIs. Their OAuth 2 implementation seems pretty "simple" to me, it probably isn't even to spec. The registration process would be something like this: 1. User clicks "Register with other platform" button 2. User is redirected to the other platform's OAuth 2 authorization endpoint 3. User is redirected back to my website (kratos) with an authorization code 4. Kratos calls my webhook to check if the user satisfies certain requirements 5. Kratos creates an account for the user and logs them in The better way to solve my specific problem would be this other platform implementing standard OIDC, I will talk to them about it when I'm implementing social login for my project. I think their main services are written in Go, I'll be sure to recommend Ory to them ;). Otherwise I'm thinking about implementing a "reverse proxy" for their OAuth 2 endpoints with https://github.com/ory/fosite
h
I have a similar flow to that