wso2wso2-identity-serverscim2

WSO2 IS - SCIM2.0 API - Create User without setting password


I want to call the SCIM2.0 API to create a new user. In the documentation it's written that one of the field of the request body must be the user password. But I'd like to create the user without setting a password and sending him an email with a link to set it himself. Is it possibile? Because when I try to call the api without sending the password in the body, I get an error "password must not be a null string".


Solution

  • You can use the ask password feature to get this done. [1] In this doc check the Enable the invitation flow -> Use the SCIM2 API

    Here the Identity Server will set a temporary random password until the user provides a proper password

    [1] https://is.docs.wso2.com/en/latest/guides/identity-lifecycles/invitation-workflow/#use-the-scim2-api