我正在尝试实现wso2用户注册API。我找到了REST APIs documentation,但从未找到注册“询问密码选项”的选项。但是它可以在SCIM 2.2和管理控制台中使用。
我尝试启用SCIM API,并尝试询问密码选项示例
curl -v -k --user admin:admin --data '{"schemas":[],"name":{"familyName":"Smith","givenName":"Paul"},"userName":"Paul","password":"password","emails":[{"primary":true,"value":"paul@somemail.com"}],"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{askPassword:"true"}}' --header "Content-Type:application/json" https://localhost:9443/scim2/Users
总是在邮递员中获得403
<html>
<head>
<title>Error 403</title>
</head>
<body>
<h1>Error 403 - Forbidden</h1>
</body>
</html>