Developer forum

Forum » Feature requests » WebApi User Create and Password change

WebApi User Create and Password change

Shiwanka Chathuranga Dynamicweb Employee
Shiwanka Chathuranga
Reply

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


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

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 

 
Shiwanka Chathuranga Dynamicweb Employee
Shiwanka Chathuranga
Reply

Thanks Nicolai

 

You must be logged in to post in the forum