WSO2 SCIM 2.0 query filter - multi-value search is not supported. e.g. filter=emails.value co richard01Extending the SCIM schema with wso2is 4.6.0Issue in enabling SSO2 for WSO2 serverWso2 Identity Server with mssql and ReadOnlyLDAP for OAuthWSO2 IS SCIM can't access with oAuth tokenConnecting Active Directory to wso2 Identity ServerWso2 Scim 2.0 Connector Authentication AttributeHow to retrieve roles for specific userWSO2 IS and WSO2 APIM - Role changeWhere is the Swagger definition located of Scim2 on WSO2 Identity serverSCIM 2.0 filter expression - cannot use 'or' expression

Is it worth upgrading to 28mm tyres from 25 for a 250 mile ride?

Would dual wielding daggers be a viable choice for a covert bodyguard?

Why are they 'nude photos'?

Is "My neighbor Mr. Lee is 70 years old who plays basketball every day." grammatical?

How to tell someone I'd like to become friends without causing them to think I'm romantically interested in them?

Setting MAC field to all-zero to indicate unencrypted data

Keep milk (or milk alternative) for a day without a fridge

When did the Roman Empire fall according to contemporaries?

How did the hit man miss?

Is Trump personally blocking people on Twitter?

Why were Er and Onan punished if they were under 20?

For a hashing function like MD5, how similar can two plaintext strings be and still generate the same hash?

Using Newton's shell theorem to accelerate a spaceship

Storming Area 51

Topology not smooth and trying to work with a 6 pole

Are randomly-generated passwords starting with "a" less secure?

Professor falsely accusing me of cheating in a class he does not teach, two months after end of the class. What precautions should I take?

Did any of the founding fathers anticipate Lysander Spooner's criticism of the constitution?

Why do players in the past play much longer tournaments than today's top players?

How to memorize multiple pieces in only 20 days?

When casting Eldritch Blast with the Agonizing Blast eldritch invocation, what do I add to my damage roll?

How can I get a player to accept that they should stop trying to pull stunts without thinking them through first?

The monorail explodes before I can get on it

How to say "to make my heart sing"



WSO2 SCIM 2.0 query filter - multi-value search is not supported. e.g. filter=emails.value co richard01


Extending the SCIM schema with wso2is 4.6.0Issue in enabling SSO2 for WSO2 serverWso2 Identity Server with mssql and ReadOnlyLDAP for OAuthWSO2 IS SCIM can't access with oAuth tokenConnecting Active Directory to wso2 Identity ServerWso2 Scim 2.0 Connector Authentication AttributeHow to retrieve roles for specific userWSO2 IS and WSO2 APIM - Role changeWhere is the Swagger definition located of Scim2 on WSO2 Identity serverSCIM 2.0 filter expression - cannot use 'or' expression






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















when I follow the WSO2 SCIM 2.0 REST Endpoint(https://docs.wso2.com/display/IS560/apidocs/SCIM2-endpoints/index.html#!/operations#UsersEndpoint#getUser) to search user by some multi-value attribute(e.g. emails). The WSO2 identity server(v5.7.0) returns empty result. The filter string like this -filter=emails.value co abc@abc.com. According to http://www.simplecloud.info/specs/draft-scim-api-00.html#query-resources, the syntax seems good.



curl -v -k --user : https://localhost:9444/scim2/Users?filter=emails.value+co+richard01



the response:
{"totalResults":0,"startIndex":1,"itemsPerPage":0,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]










share|improve this question




























    0















    when I follow the WSO2 SCIM 2.0 REST Endpoint(https://docs.wso2.com/display/IS560/apidocs/SCIM2-endpoints/index.html#!/operations#UsersEndpoint#getUser) to search user by some multi-value attribute(e.g. emails). The WSO2 identity server(v5.7.0) returns empty result. The filter string like this -filter=emails.value co abc@abc.com. According to http://www.simplecloud.info/specs/draft-scim-api-00.html#query-resources, the syntax seems good.



    curl -v -k --user : https://localhost:9444/scim2/Users?filter=emails.value+co+richard01



    the response:
    {"totalResults":0,"startIndex":1,"itemsPerPage":0,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]










    share|improve this question
























      0












      0








      0








      when I follow the WSO2 SCIM 2.0 REST Endpoint(https://docs.wso2.com/display/IS560/apidocs/SCIM2-endpoints/index.html#!/operations#UsersEndpoint#getUser) to search user by some multi-value attribute(e.g. emails). The WSO2 identity server(v5.7.0) returns empty result. The filter string like this -filter=emails.value co abc@abc.com. According to http://www.simplecloud.info/specs/draft-scim-api-00.html#query-resources, the syntax seems good.



      curl -v -k --user : https://localhost:9444/scim2/Users?filter=emails.value+co+richard01



      the response:
      {"totalResults":0,"startIndex":1,"itemsPerPage":0,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]










      share|improve this question














      when I follow the WSO2 SCIM 2.0 REST Endpoint(https://docs.wso2.com/display/IS560/apidocs/SCIM2-endpoints/index.html#!/operations#UsersEndpoint#getUser) to search user by some multi-value attribute(e.g. emails). The WSO2 identity server(v5.7.0) returns empty result. The filter string like this -filter=emails.value co abc@abc.com. According to http://www.simplecloud.info/specs/draft-scim-api-00.html#query-resources, the syntax seems good.



      curl -v -k --user : https://localhost:9444/scim2/Users?filter=emails.value+co+richard01



      the response:
      {"totalResults":0,"startIndex":1,"itemsPerPage":0,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]







      wso2is scim2






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 3:19









      Youfa MaoYoufa Mao

      163 bronze badges




      163 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Instead of putting as "emails.value" we need to put "email.<type-name>" which we used to defined when we were creating the user. Email is a multi-valued attribute, so you can add your type and store the value for it. Let's assume here I'm creating the user as follows,



          Request:



          curl -v -k --user admin:admin --data '"schemas":[],"name":"familyName":"jackson","givenName":"kim","userName":"kim","password":"kimwso2","emails":["value":"kim_j@wso2.com","type":"work"]' --header "Content-Type:application/json" https://localhost:9443/scim2/Users


          Response:



          "emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"name":"familyName":"jackson","givenName":"kim","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"


          Now let's filter the multi-valued attribute email,



          Request:



          curl -v -k --user admin:admin https://localhost:9443/scim2/Users?filter=emails.work+co+kim


          Response:



          "totalResults":1,"startIndex":1,"itemsPerPage":1,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"Resources":["emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","roles":["type":"default","value":"Internal/everyone"],"name":"givenName":"kim","familyName":"jackson","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"]


          For more information refer to the documentation here.






          share|improve this answer























          • it works. Thanks a lot!

            – Youfa Mao
            Mar 27 at 1:13










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349360%2fwso2-scim-2-0-query-filter-multi-value-search-is-not-supported-e-g-filter-em%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Instead of putting as "emails.value" we need to put "email.<type-name>" which we used to defined when we were creating the user. Email is a multi-valued attribute, so you can add your type and store the value for it. Let's assume here I'm creating the user as follows,



          Request:



          curl -v -k --user admin:admin --data '"schemas":[],"name":"familyName":"jackson","givenName":"kim","userName":"kim","password":"kimwso2","emails":["value":"kim_j@wso2.com","type":"work"]' --header "Content-Type:application/json" https://localhost:9443/scim2/Users


          Response:



          "emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"name":"familyName":"jackson","givenName":"kim","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"


          Now let's filter the multi-valued attribute email,



          Request:



          curl -v -k --user admin:admin https://localhost:9443/scim2/Users?filter=emails.work+co+kim


          Response:



          "totalResults":1,"startIndex":1,"itemsPerPage":1,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"Resources":["emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","roles":["type":"default","value":"Internal/everyone"],"name":"givenName":"kim","familyName":"jackson","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"]


          For more information refer to the documentation here.






          share|improve this answer























          • it works. Thanks a lot!

            – Youfa Mao
            Mar 27 at 1:13















          0














          Instead of putting as "emails.value" we need to put "email.<type-name>" which we used to defined when we were creating the user. Email is a multi-valued attribute, so you can add your type and store the value for it. Let's assume here I'm creating the user as follows,



          Request:



          curl -v -k --user admin:admin --data '"schemas":[],"name":"familyName":"jackson","givenName":"kim","userName":"kim","password":"kimwso2","emails":["value":"kim_j@wso2.com","type":"work"]' --header "Content-Type:application/json" https://localhost:9443/scim2/Users


          Response:



          "emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"name":"familyName":"jackson","givenName":"kim","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"


          Now let's filter the multi-valued attribute email,



          Request:



          curl -v -k --user admin:admin https://localhost:9443/scim2/Users?filter=emails.work+co+kim


          Response:



          "totalResults":1,"startIndex":1,"itemsPerPage":1,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"Resources":["emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","roles":["type":"default","value":"Internal/everyone"],"name":"givenName":"kim","familyName":"jackson","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"]


          For more information refer to the documentation here.






          share|improve this answer























          • it works. Thanks a lot!

            – Youfa Mao
            Mar 27 at 1:13













          0












          0








          0







          Instead of putting as "emails.value" we need to put "email.<type-name>" which we used to defined when we were creating the user. Email is a multi-valued attribute, so you can add your type and store the value for it. Let's assume here I'm creating the user as follows,



          Request:



          curl -v -k --user admin:admin --data '"schemas":[],"name":"familyName":"jackson","givenName":"kim","userName":"kim","password":"kimwso2","emails":["value":"kim_j@wso2.com","type":"work"]' --header "Content-Type:application/json" https://localhost:9443/scim2/Users


          Response:



          "emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"name":"familyName":"jackson","givenName":"kim","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"


          Now let's filter the multi-valued attribute email,



          Request:



          curl -v -k --user admin:admin https://localhost:9443/scim2/Users?filter=emails.work+co+kim


          Response:



          "totalResults":1,"startIndex":1,"itemsPerPage":1,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"Resources":["emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","roles":["type":"default","value":"Internal/everyone"],"name":"givenName":"kim","familyName":"jackson","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"]


          For more information refer to the documentation here.






          share|improve this answer













          Instead of putting as "emails.value" we need to put "email.<type-name>" which we used to defined when we were creating the user. Email is a multi-valued attribute, so you can add your type and store the value for it. Let's assume here I'm creating the user as follows,



          Request:



          curl -v -k --user admin:admin --data '"schemas":[],"name":"familyName":"jackson","givenName":"kim","userName":"kim","password":"kimwso2","emails":["value":"kim_j@wso2.com","type":"work"]' --header "Content-Type:application/json" https://localhost:9443/scim2/Users


          Response:



          "emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"name":"familyName":"jackson","givenName":"kim","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"


          Now let's filter the multi-valued attribute email,



          Request:



          curl -v -k --user admin:admin https://localhost:9443/scim2/Users?filter=emails.work+co+kim


          Response:



          "totalResults":1,"startIndex":1,"itemsPerPage":1,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"Resources":["emails":["type":"work","value":"kim_j@wso2.com"],"meta":"created":"2019-03-26T15:18:47Z","location":"https://localhost:9443/scim2/Users/c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","lastModified":"2019-03-26T15:18:47Z","resourceType":"User","roles":["type":"default","value":"Internal/everyone"],"name":"givenName":"kim","familyName":"jackson","id":"c40fe2f2-d9c1-4555-a1d1-e6ff3dde9d41","userName":"kim"]


          For more information refer to the documentation here.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 26 at 10:00









          Thillainathan SarubiThillainathan Sarubi

          363 bronze badges




          363 bronze badges












          • it works. Thanks a lot!

            – Youfa Mao
            Mar 27 at 1:13

















          • it works. Thanks a lot!

            – Youfa Mao
            Mar 27 at 1:13
















          it works. Thanks a lot!

          – Youfa Mao
          Mar 27 at 1:13





          it works. Thanks a lot!

          – Youfa Mao
          Mar 27 at 1:13








          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349360%2fwso2-scim-2-0-query-filter-multi-value-search-is-not-supported-e-g-filter-em%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해