[telepathy] [Bug 354949] Can't connect to gtalk account (Authentication failed: invalid-authzid)

Georgy via KDE Bugzilla bugzilla_noreply at kde.org
Sun Nov 15 08:35:09 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=354949

--- Comment #5 from Georgy <kirichenkoga at gmail.com> ---
I think, i found the problem, the AccountUsername field is empty in received
credentials data by ktp-auth-handler(x-telepathy-sso-google-operation.cpp):
void XTelepathySSOGoogleOperation::gotCredentials(KJob *kjob)
{
    GetCredentialsJob *job = qobject_cast< GetCredentialsJob* >(kjob);
    QVariantMap credentialsData = job->credentialsData();

    QByteArray data;
    data.append("\0", 1);
    data.append(credentialsData["AccountUsername"].toByteArray());
    qDebug() << "Acc name: " << credentialsData["AccountUsername"]; // output
is empty 
    data.append("\0", 1);
    data.append(credentialsData["AccessToken"].toByteArray());
    qDebug() << "Received Google credentials, starting auth mechanism...";

    m_saslIface->StartMechanismWithData(QLatin1String("X-OAUTH2"), data);
}

But i am not sure about root cause of this: signond oauth2 plugin (hasn't this
attribute too in received token) or ktp-auth-handler bug

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list