我正在使用WSO2 Identity Server获取用户名和密码 . 我正在使用WSO2 SCIM API使用PATCH更新/重置用户的密码 . 在UI中,用户必须输入旧密码和新密码 . 但是在重置用户密码时,我必须首先验证用户当前的密码 . 是否有API来验证WSO2中的密码?
您可以使用 getMe endpoints 并根据响应进行操作 .
getMe
curl -v -k --user [username]:[password] https://localhost:9443/scim2/Me
参考:https://docs.wso2.com/display/IS560/apidocs/SCIM2-endpoints/#!/operations#MeEndpoint#getUserMe
1 回答
您可以使用
getMe
endpoints 并根据响应进行操作 .参考:https://docs.wso2.com/display/IS560/apidocs/SCIM2-endpoints/#!/operations#MeEndpoint#getUserMe