Event search doesn't serialize the query right
edewit opened this issue · 0 comments
edewit commented
Describe the bug
When searching for events one can specify multiple 'type's. But the query isn't serialized in a way that the server picks them up.
To Reproduce
Steps to reproduce the behavior:
const events = await kcAdminClient.realms.findAdminEvents({
realm: currentRealmName,
type: ['LOGIN', 'LOGOUT'],
});
Expected behavior
A query string looking like type=LOGIN&type=LOGOUT
, but it does type[]=LOGIN&type[]=LOGOUT
this is not what keycloak expects.