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

GetComponentsParams ProviderType field should be Type instead. #492

Open
GitH3ll opened this issue Nov 15, 2024 · 0 comments
Open

GetComponentsParams ProviderType field should be Type instead. #492

GitH3ll opened this issue Nov 15, 2024 · 0 comments

Comments

@GitH3ll
Copy link

GitH3ll commented Nov 15, 2024

Describe the bug
GetComponentsParams struct that is used to populate the GET /components query has a Provider field, which doesn't allow to actually filter components by a specific type. Keycloak API defines type field to filter components by type.

To Reproduce
Steps to reproduce the behavior:
Use Gocloak.GetComponentsWithParams and set ProviderType field to a specific value. Make the request and see that components are not being filtered by their type.

Expected behavior
type query param is used in the request and components are filtered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant