[ejabberd] ejabberd http-binding and XEP-0124
yazzgoth at gmail.com
Wed Nov 14 18:01:18 MSK 2007
I'm working on a project where the only way to communicate with
ejabberd is via cookie-less HTTP requests.
I have problems with authentication on ejabberd with this method when
I follow the steps in XEP-0124 and XEP-0206.
Here's what I do:
<body content='text/xml; charset=utf-8'
ejabberd responds as expected, sending sessionID and confirming wait,
hold, requests and version.
Then I'm trying to initialize the SASL with following post:
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' />
where the sessionID is what the server sent us.
At this point ejabberd responds with status 400.
Any thoughts highly appreciated.
More information about the ejabberd