>> Does this mean GoogleTalk ONLY supports X-GOOGLE-TOKEN??? I
don't see any advertisement for SASL-PLAIN or MD5 or anything.... <br>
<br>
You have two choices here:<br>
1) Send &lt;starttls/&gt;.&nbsp; The server will respond with
&lt;proceed/&gt;.&nbsp; You then negotiate TLS and restart the XMPP
stream.&nbsp; The features advertized then will be SASL plain<br>
2) Connect to 5223 instead.&nbsp; Negotiate TLS right away and then log in as you are w/ old school non-SASL login.<br>
<br>
Joe<br><br><div><span class="gmail_quote">On 10/24/05, <b class="gmail_sendername">Mukil Kesavan</b> &lt;<a href="mailto:mukilk@gmail.com">mukilk@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I do agree Norman that instead of building something from scratch I can
work on improving an existing library. But the &quot;so-called&quot; library that
I am working on is going to be very basic and I am writing it purely
for my own understanding. Besides, most of the current libraries have
many dependancies which I am not so comfortable with. <br>
<br>
Somebody please tell me how I can do the TLS/SASL part in order to
connect to GoogleTalk... This is the latest XML trace that I get...<br>
<br>
SENT:<br>
&lt;?xml version='1.0'?&gt;&lt;stream:stream to='<a href="http://www.google.com/url?sa=D&amp;q=http%3A%2F%2Fgmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gmail.com</a>' <br>
xmlns='jabber:client' xmlns:stream='<a href="http://www.google.com/url?sa=D&amp;q=http%3A%2F%2Fetherx.jabber.org%2Fstreams" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://etherx.jabber.org/streams
</a>' version='1.0'&gt;<br>
<br>
<br>
RECEIVED:<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;stream:stream from=&quot;<a href="http://www.google.com/url?sa=D&amp;q=http%3A%2F%2Fgmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
gmail.com</a>&quot; <br>
id=&quot;E6B9A3D4&quot; version=&quot;1.0&quot; <span class="q"><br>
xmlns:stream=&quot;<a href="http://www.google.com/url?sa=D&amp;q=http%3A%2F%2Fetherx.jabber.org%2Fstreams" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://etherx.jabber.org/streams</a>&quot; 
<br></span>
xmlns=&quot;jabber:client&quot;&gt;&lt;stream:features&gt;&lt;starttls xmlns=&quot;urn:ietf:params:xml:ns:xmpp-tls&quot;/&gt;&lt;mechanisms <br>
xmlns=&quot;urn:ietf:params:xml:ns:xmpp-sasl&quot;&gt;&lt;mechanism&gt;X-GOOGLE-TOKEN&lt;/mechanism&gt;&lt;/mechanisms&gt;&lt;/stream:features&gt;<br>
<br>
SENT:<br>
&lt;iq type='set' id='MyLib0'&gt;&lt;query <br>
xmlns='jabber:iq:auth'&gt;&lt;username&gt;<a href="mailto:myname@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">myname@gmail.com</a>&lt;/username&gt;&lt;password&gt;mypasswd&lt;/password&gt;&lt;resource&gt;Res1&lt;/resource&gt;&lt;/query&gt;&lt;/iq&gt;
<br>

<br>
<br>
RECEIVED:<br>
&lt;iq type=&quot;error&quot; id=&quot;MyLib0&quot;&gt;&lt;query <br>
xmlns=&quot;jabber:iq:auth&quot;&gt;&lt;username&gt;<a href="mailto:myname@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">myname@gmail.com</a>&lt;/username&gt;&lt;password&gt;mypasswd&lt;/password&gt;&lt;resource&gt;Res1&lt;/resource&gt;&lt;/query&gt;&lt;error
<br>
code=&quot;405&quot; type=&quot;cancel&quot;&gt;&lt;not-allowed <br>
xmlns=&quot;urn:ietf:params:xml:ns:xmpp-stanzas&quot;/&gt;&lt;text xmlns=&quot;urn:ietf:params:xml:ns:xmpp-stanzas&quot;&gt;Server <br>
does not support PLAIN&lt;/text&gt;&lt;/error&gt;&lt;/iq&gt;&lt;/stream:stream&gt;<br>
<br>
Does this mean GoogleTalk ONLY supports X-GOOGLE-TOKEN??? I don't see any advertisement for SASL-PLAIN or MD5 or anything.... <br>
<br>
How did you guys fix this problem? Can somebody tell me what things
should be done after I first receive the reply from google server???<br>
<br>
Thanks and awaiting your reply,<br><span class="sg">
<br>
- Mukil<br>

</span></blockquote></div><br>