Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regenerate openapi client for Hydra v2.0.3 #17

Open
3 of 6 tasks
philstead opened this issue Feb 23, 2023 · 0 comments
Open
3 of 6 tasks

regenerate openapi client for Hydra v2.0.3 #17

philstead opened this issue Feb 23, 2023 · 0 comments
Labels
bug Something is not working.

Comments

@philstead
Copy link

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

hydra-client-go/api_o_auth2.go

Lines 3559 to 3563 in 3de39c8

type OAuth2ApiRevokeOAuth2TokenRequest struct {
ctx context.Context
ApiService OAuth2Api
token *string
}
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 philstead added the bug Something is not working. label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant