Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

register new users in openfire?

Is there anyway to register new users through an HTTP request in OpenFire. I want users to be able to sign up for my messaging service from within an app written in cocoa. Can this be done??

like image 453
zpesk Avatar asked Mar 01 '26 10:03

zpesk


2 Answers

Take a look at the web administration console's create-a-user page (http://<openfire-server>:<port>/user-create.php). It uses a simple HTTP GET form to create a new user. I imagine you could pull the submit URL and various required fields from the source of that page and build your own GET request from your Cocoa app.

like image 123
Tim Avatar answered Mar 03 '26 07:03

Tim


The easiest way to register a new user in Openfire is the UserService plugin. Just take a look at http://www.igniterealtime.org/projects/openfire/plugins/userservice/readme.html

like image 22
Alpay Avatar answered Mar 03 '26 06:03

Alpay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!