hydra-client-go
hydra-client-go copied to clipboard
regenerate openapi client for Hydra v2.0.3
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [ ] This issue affects my Ory Network project.
- [ ] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
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