xmppjs / xmpp.js

XMPP for JavaScript
ISC License
2.19k stars 372 forks source link

Reconnecting with another credentials #837

Closed webtoucher closed 4 years ago

webtoucher commented 4 years ago

Hi! Is it possible to reconnect with another credentials with the same client entity?

webtoucher commented 4 years ago

I just used auth callback instead of { username, password }

imcyee commented 3 years ago

For anyone else stumble across this: Below issue has the example of auth callback https://github.com/xmppjs/xmpp.js/issues/588#issuecomment-437074802