Registration: Email-based code request

Skip to first unread message

Diana Cheng

Feb 16, 2011, 10:42:34 AM2/16/11
to onesocialweb
Hello everyone,

Just pushed to Github some new functionality so that automatic
registration can be setup by anyone hosting a OSW-enabled Openfire

There are changes in the oswregistrationplugin, osw-web and osw-lib-
gwt. I've created a wiki page detailing how to set this up, so please
check it out:

Basically, it will allow for anyone who wants to be OSW user on your
hosted server to request a registration code for creating a OSW
account by specifiying a valid email address and completing a captcha
(an email address can only be associated with 1 xmpp account though).
Then, an email providing a registration code will be sent and the user
can then proceed to the Registration tab of the web app to create his
account. Since an email is sent, this requires to specify an email
host in the "Email Settings" in the Openfire console. I myself run
Postfix in the same box as the openfire server (install and
configurable with 1 command).

Since we are using reCaptcha, you also need to request for a public/
private key pair for your domain on their website:

In the registration form I've added the Name so that it is always set
in the Jabber acount (this is the name of the actor in the activities,
so it is used when displaying each activity).

The oswregistrationplugin is not maven-enabled yet, so feel free to
contribute to that.

All is covered in the wiki page. Happy to hear your feedback.

Reply all
Reply to author
0 new messages