Search code examples
wso2scim2wso2-identity-server

WSO2is SCIM query with two filters


I understand that it is not possible to use the 'or' operator to make queries. What alternative is there to perform a query with two filters for same attribute but diffrente query, for example:

scim2/Users?filter=field+sw+content-a&filter=field+sw+content-b

Solution

  • This Git issue is still in open state. Therefore, believe this has not yet been implemented.

    You can achieve your requirement using 2 SCIM calls(One for each filter). Then programatically get the union of the results. Same goes for NOT operator as well. You have to perform multiple SCIM calls and programtically obtain the end result.