You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
API : substring match in attributes when searching for groups
#45000
With the API, I'm trying to search for groups based on an attributes value. It's working with exact match, but not with substrings. The general API seems to says that matching with the "exact=false" option and without quoting the value should result in a substring match, but it seems to not be the case here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
With the API, I'm trying to search for groups based on an attributes value. It's working with exact match, but not with substrings. The general API seems to says that matching with the "exact=false" option and without quoting the value should result in a substring match, but it seems to not be the case here.
Here is an example :
This request return the group:
https://my.keycloak.fr/admin/realms/my_realm/groups?q=project:synchro3&exact=false&briefRepresentation=falseBut not this one :
https://my.keycloak.fr/admin/realms/my_realm/groups?q=project:synchro&exact=false&briefRepresentation=falseIs it intended or not ? Or dit I miss something else ?
This feature would be interesting for me. Is it worth opening an issue for it
Thank you and best regards.
Alain Z.
All reactions