I'm using Identity server v5.4.0-Update 6 On Fri, Feb 2, 2018 at 10:48 AM, Menaka Jayawardena <[email protected]> wrote:
> Hi devs, > > I configured outbound provisioning for Salesforce and invoked the SCIM API > as in the documentation[1]. > > Here is the curl command that I invoked. > > curl -v -k --header "Content-Type:application/json" --user > [email protected]:admin > --data '{"schemas":["urn:scim:schemas:core:1.0"],"userName":"[email protected] > ","password":"test25","name":{"familyName":"Menaka12"},"emails":["q123@ > wso2.com"],"entitlements":[{"value":"00e7F000002DkfY","display":"ChatterFreeUser"}]}' > https://localhost:9443/wso2/scim/Users > > But it gives me an exception. (See the attached file). > > I also tried the scim2 api as well. > > curl -v -k --header "Content-Type:application/json" --user > [email protected]:admin > --data '{"schemas":["urn:scim:schemas:core:1.0"],"userName":"[email protected] > ","password":"test25","name":{"familyName":"Menaka12"},"emails":["q123@ > wso2.com"],"entitlements":[{"value":"00e7F000002DkfY","display":"ChatterFreeUser"}]}' > https://localhost:9443/scim2/Users > > But this also gives an error. > > {"schemas":"urn:ietf:params:scim:api:messages:2.0:Error"," > scimType":"invalidSyntax","detail":"Unknown JSON representation for the > MultiValued attribute emails which has data type as > COMPLEX","status":"400"}% > > There is no mentioning about the SCIM2 API in the documentation. > > Highly appreciate any solution for this. > > [1] https://docs.wso2.com/display/IS540/Outbound+Provisioning+ > with+Salesforce > > > Thanks and Regards, > Menaka > -- > *Menaka Jayawardena* > *Software Engineer - WSO2 Inc* > *Tel : 071 350 5470* > *LinkedIn: https://lk.linkedin.com/in/menakajayawardena > <https://lk.linkedin.com/in/menakajayawardena>* > *Blog: https://menakamadushanka.wordpress.com/ > <https://menakamadushanka.wordpress.com/>* > > -- *Menaka Jayawardena* *Software Engineer - WSO2 Inc* *Tel : 071 350 5470* *LinkedIn: https://lk.linkedin.com/in/menakajayawardena <https://lk.linkedin.com/in/menakajayawardena>* *Blog: https://menakamadushanka.wordpress.com/ <https://menakamadushanka.wordpress.com/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
