Hi,
I used below REST call to create a SCIM user. This create a users in
primary userstore sucesfully. I want to how to create the user in my
secondary userstore (AD) which has domain name "udaraad".
curl -v -k --user admin:admin --data
"{"schemas":[],"name":{"familyName":"gunasinghe","givenName":"hasinitg"},"userName":'hasinit',"password":"hasinitg","emails":[{"primary":true,"value":"
hasini_home.com","type":"home"},{"value":"hasini_work.com","type":"work"}]}"
--header "Content-Type:application/json"
https://localhost:9443/wso2/scim/Users
I tried with following combinations and found no luck and encountered below
error response. But still no error message is shown in Carbon logs which
should.
"userName":'udaraad/hasinit'
"userName":'udaraad\/hasinit'
"userName":"udaraad/hasinit"
"userName":"udaraad//hasinit"
{"Errors":[{"description":"Error in adding the user: udaraad/hasinit to the
user store..","code":"500"}]}
--
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev