How to instantiate Authorization flows programatically?


#1

Hey,

We have an API platform and we are looking to allow third-party apps (clients) to use OUR identity service and users to interact with their applications. We made a wrapper aroudn the hydra SDK in golang and exposed some endpoints which allows certain users to Create new OAuth2.0 clients in our Hydra instance.

I’m quite lost on what RedirectUris does, is it supposed to point to our Webapp/API or is it something the third party app should have?

Also, how to initiate an OAuth flow programatically? Essentially, we would like to add a “Login with X” button on third party websites which would then take the resource owner to our webapp where they go through the login and consent flow.