views:

527

answers:

2

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??

+1  A: 

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.

Tim
A: 

You can use in-band registration as specified in XEP-77 to add accounts from the XMPP connection you're going to need.

Joe Hildebrand