I know there are many forum posts on the subject but I have not seen a solution. Here is my code:
ConnectionConfiguration configuration = new ConnectionConfiguration(“talk.google.com”, 5222,“gmail.com”);
XMPPConnection connection = new XMPPConnection(configuration);
connection.connect();
connection.login(LOGIN, PASSWORD,“smack”);
connection.disconnect();
Where LOGIN is my gmail username w/o the "@gmail.com" part…
This block of code throws the following exception:
SASL authentication failed
This message appears to be thrown by the login() method. I have tried every iteration of the username. I saw this http://www.igniterealtime.org/forum/thread.jspa?messageID=147175𣻧
The reply appears to have prior knowledge of this exception but does provide steps of how to fix this. Any ideas on this would be great.
-solid