hydra-client-go icon indicating copy to clipboard operation
hydra-client-go copied to clipboard

regenerate openapi client for Hydra v2.0.3

Open philstead opened this issue 2 years ago • 0 comments

Preflight checklist

Describe the bug

The current version of the client (v2.0.3) doesn't reflect api changes from https://github.com/ory/hydra/releases/tag/v2.0.3 - specifically client_id and client_secret were added to the request body of RevokeOAuth2Token but aren't available in the client.

I need to revoke OAuth tokens for a public OIDC client and can't with the current version of this client.

Can the openapi client be regenerated to pick up this change? Thanks!

Reproducing the bug

https://github.com/ory/hydra-client-go/blob/3de39c8bc8d873a1200686fa1a25064f9286c2a2/api_o_auth2.go#L3559-L3563 only accepts token as a parameter

Relevant log output

No response

Relevant configuration

No response

Version

v2.0.3

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

philstead avatar Feb 23 '23 19:02 philstead