[jdev] Question on login through OAuth

Jonas Wielicki xmpp-dev at sotecware.net
Sat May 18 14:37:37 UTC 2013

Hi Stefano,

While there is no XEP explicitly supporting OAuth, there seem to be
approaches for using OAuth with SASL, which is the default
authentication mechanism for XMPP.

So in principle, it should be possible to use OAuth, without hardcoding
passwords etc.. However, there is probably no software out there yet
supporting that. I'd suggest you take some web search on how to use
OAuth with SASL and maybe implement/contribute to the standards which
are currently in the making (I found some IETF draft for sasl+oauth, and
some github code by doing a simple web search). You'll probably also
have to patch server software to support that, and in turn set up your
own XMPP service for this to work.

regards and good luck,

More information about the JDev mailing list