Attached are modifications and an example script which will allow you to use node-xmpp with Google Talk using OAuth2.
Run the echo_bot_oauth.js example:
node examples/echo_bot_oauth.js 'email@example.com' 'ya29.AHESXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Added bot example that uses OAuth2.
First attempt at XOAuth2 mechanism.
Added Example documentation.
Needed to use authzid, not authcid.
Added host option.
Temporary stanza debugging for authentication failures.
Fixed double-encoding auth token mistake.
Revert "Temporary stanza debugging for authentication failures."
This reverts commit 68f9176.
How much in a hurry are you? I'm on holiday til end of this month.
Thanks! End of the month would be great.
Ohh! Great! I need this! :)
@statico thanks for adding this feature to node-xmpp! Can definitely put it to some good use.
@astro so how are things going with this PR? Will you be able to review and merge it? Looking forward to use this feature. :)
Merge branch 'oauth'
Github pull request #85
Sorry for the delay.
When is this feature going to be available via NPM? Thank you!
In general there's a lot of cleaning up and testing to be done before the next major node-xmpp release.