I just spent far far to long trying to get an ejabberd service to authenticate with an external Ruby script. In the hopes of saving someone else the trouble I’ve thrown together this gist.
This entry was posted
on Thursday, December 30th, 2010 at 5:58 pm and is filed under Code.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

3 comments so far
This looks awesome, but I’m not sure it does what I need. I’m actually looking to autenticate ejabberd agains my rails application. I can’t see in your script the part where you actually authenticate a user agains your database. If it is not what you wanna do, where would you put it ?
thanks
February 18th, 2011 at 5:06 pm
Julien, I’ve created a second gist that should help show how you would use this script to authenticate against a web service. I hope this helps.
https://gist.github.com/834015
February 18th, 2011 at 5:19 pm
That’s what I thought. Thx
February 21st, 2011 at 4:54 am
Leave a Comment