powered by Jive Software

Reset / change password remotely

Hi !

I’m starting to use Openfire in order to develop a mobile app using instant messaging.

I managed to create accounts that I can use to communicate through the app.

My problem is, though, that I can’t reset a user password from there. I would like to be able to reset a password if a user forgot this one, but I don’t know how to do that from my app.

The only way I found is to connect to the admin console and change it manually.

Is there a way I could do it remotely ?

Thanks for your help !

REST API plugin might be able to do this. Look for an example at the bottom (update the user) REST API Plugin Readme

I tried this already, but I don’t think I can change the password through the update user function.

I managed to change the name or the email, but not the password.

Nevermind, I finally managed to do it, using indeed the update user command from the REST API.
It might be a good idea to indicate it is possible to do so in the REST API documentation, I guess.

Thanks for your help.

Well, the example url has password in there, so i figured this should work. I’m not a developer though. Maybe @Redeyes will add something to documentation.