Create User >> Request to add option to send password also in same request
Password change >> New password and old password as request and validate old password before change to new password in webapi level
Create User >> Request to add option to send password also in same request
Password change >> New password and old password as request and validate old password before change to new password in webapi level
Hi Shiwanka
See this one related to creating passwords: http://doc.dynamicweb.com/forum/development?ThreadID=84053
Password change:
You can do that currently - almost. Use the /authenticate endpoint with the username and current password - that will return a token for you. Then use /dwapi/users/password/reset where you send in the JWT token in the bearer header and then the new password.
In the UI you can do that in one form that triggeres 2 round trips to the API.
BR Nicolai
Thanks Nicolai