Bug 324751

Summary: Google Talk Accounts Fail To Add
Product: [Unmaintained] telepathy Reporter: e8hffff <e8hffff>
Component: auth-handlerAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde, mklapetek
Priority: NOR    
Version: unspecified   
Target Milestone: Future   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description e8hffff 2013-09-10 16:59:40 UTC
Can't add Google Talk account.  I know GTalk is decommissioned but they still work for Hangouts.

If I add an account it fails.  If I look in Ubuntu's Unity Control Panel the account is added as a  'Jabber' account for every GTalk account I add in KDE IM control panel area or Account Manager of the Telephony menu in tray. The onyl way to get it to work is use Ubuntu to create the accounts to use in KDE Telephony.  This could be a security issue as jabber is being passed usernames and passwords.

SECURITY RISK as PASSWORDS and USERNAMES passed to JABBER

Reproducible: Always

Steps to Reproduce:
1. Create GTalk account refrence in Accounts Manager of Telephony settings
2. Account fails to authenticate
3. Look in Ubuntu's Control Panel area for Online Accounts and it has made the wrong type, a Jabber account but shows GTalk icon in KDE
Actual Results:  
Jabber account made not a GTalk, even though shows in KDE telephony as GTalk. 

Expected Results:  
Should create a GTalk/Hangouts account reference to use in KDE Telephony

0.6.1 is the version of KDE Telephony.  Using Kubuntu 13.04
Comment 1 David Edmundson 2013-09-10 17:01:43 UTC
Jabber is a protocol.
Google Talk users jabber.

If you look in the server field of advanced settings it will say "talk.google.com"

They appear differently between Ubuntu Accounts and us because we use a slightly different way of changing the icon.
Comment 2 e8hffff 2013-09-10 17:07:25 UTC
(In reply to comment #1)
> Jabber is a protocol.
> Google Talk users jabber.
> 
> If you look in the server field of advanced settings it will say
> "talk.google.com"
> 
> They appear differently between Ubuntu Accounts and us because we use a
> slightly different way of changing the icon.

Ok I'll see if I can change the level of this bug to low.

Next, is there a fix coming so that adding GTalk will work?
Comment 3 David Edmundson 2013-09-10 17:11:55 UTC
The 2 authentication systems from Empathy and here are clashing. 

The way telepathy works is that it the backends are separated from the UI.

The backend then says "I need a password for this account". 
It will then either ask us or empathy-auth-handler which you must have from from Ubuntu.

If the account was created with us, we'll have the password. If the account was created elsewhere they do. 

It's meant to work nicely together, but in reality auth is pretty broken with both installed.
Comment 4 e8hffff 2013-09-10 17:18:14 UTC
(In reply to comment #3)
> The 2 authentication systems from Empathy and here are clashing. 
> 
> The way telepathy works is that it the backends are separated from the UI.
> 
> The backend then says "I need a password for this account". 
> It will then either ask us or empathy-auth-handler which you must have from
> from Ubuntu.
> 
> If the account was created with us, we'll have the password. If the account
> was created elsewhere they do. 
> 
> It's meant to work nicely together, but in reality auth is pretty broken
> with both installed.

I've always tried to use KDE in preference to create but it fails for GTalk.  I just tried to create a Jabber profile with the url's for talk.google and the fallback as well for group, but it didn't authenticate.

I hope it gets fixed as I love KDE Telephone using integrated into the desktop. Also nice having widget with friends on list.
Comment 5 e8hffff 2013-09-10 17:29:42 UTC
(In reply to comment #3)
> The 2 authentication systems from Empathy and here are clashing. 
> 
> The way telepathy works is that it the backends are separated from the UI.
> 
> The backend then says "I need a password for this account". 
> It will then either ask us or empathy-auth-handler which you must have from
> from Ubuntu.
> 
> If the account was created with us, we'll have the password. If the account
> was created elsewhere they do. 
> 
> It's meant to work nicely together, but in reality auth is pretty broken
> with both installed.

OK for all readers, I uninstalled Empathy and its components and KDE Telephony works when adding GTalk accounts. It's actually easier to initiate than Gnome's method.
Comment 6 Martin Klapetek 2013-09-10 19:34:59 UTC
Just a note, it's "KDE Telepathy", not "KDE Telephony" ;)