Open GoogleCodeExporter opened 8 years ago
What steps will reproduce the problem? 1. jc = new JabberClient(); jid = new JID("xxx@gmail.com"); jc.LocalCertificate = null; jc.Server = jid[i].Server; jc.Password = "xxx"; jc.User = jid[i].User; jc.AutoPresence = true; jc.AutoRoster = true; jc.AutoReconnect = -1; jc.AutoLogin = false; jc.PlaintextAuth = true; jc.AutoIQErrors = true; jc.RequiresSASL = true; jc.NetworkHost = "talk.l.google.com"; jc.Port = 5222; jc.Connect(); jc.Login(); jc.OnAuthenticate += new bedrock.ObjectHandler(j_OnAuthenticate); ... void j_OnAuthenticate(object sender) { jc.Message("yyy@gmail.com", "test"); } What is the expected output? What do you see instead? I expect successfull login, but I see IsAuthenticated==false. SND:<stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="55bb6eab" xmlns="jabber:client" to="gmail.com" version="1.0"> RCV:<stream:stream from="gmail.com" id="D777C627AC687ECD" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"> RCV:<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-OAUTH2</mechanism><mechani sm>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features> SND:<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" /> RCV:<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> SND:<stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="f67ef2a6" xmlns="jabber:client" to="gmail.com" version="1.0"> RCV:<stream:stream from="gmail.com" id="3C5C18D796658871" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"> RCV:<stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-OAUTH2</mechanism><mechani sm>X-GOOGLE-TOKEN</mechanism><mechanism>PLAIN</mechanism></mechanisms></stream:f eatures> SND:<auth mechanism="PLAIN" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">CREDENTIAL IN BASE64</auth> RCV:<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure> RCV:</stream:stream> P.S.: CREDENTIAL = "\0" + USERNAME +"\0" + TOKEN What version of the product are you using? On what operating system? 2.1.0.710 on windows 7 Please provide any additional information below. what happend?
Original issue reported on code.google.com by santob...@gmail.com on 11 Oct 2014 at 4:31
santob...@gmail.com
Original issue reported on code.google.com by
santob...@gmail.com
on 11 Oct 2014 at 4:31