Not able to add Facebook Account

Bug #1132296 reported by BlueCase
106
This bug affects 24 people
Affects Status Importance Assigned to Milestone
Online Accounts: Sign-on UI
New
Undecided
Unassigned

Bug Description

System: Ubuntu 12.10 64-Bit
Package: signon-ui 0.11-0ubuntu1

Hi,
I'm not longer able to add a Facebook accounts via signon-ui

Steps:
1. Add Facebook account
2. UI load webpage
3. UI stop loading and open a tab in the default browser
4. After Login and Accept Ubuntu for Facebook appears a blank page with the text "Success"

 Log:
service.cpp 206 queryDialog Got request: QMap(("Caption", QVariant(QString, "Facebook") ) ( "ClientData" , QVariant(QDBusArgument, ) ) ( "FinalUrl" , QVariant(QString, "https://www.facebook.com/connect/login_success.html") ) ( "Identity" , QVariant(uint, 61) ) ( "OpenUrl" , QVariant(QString, "https://www.facebook.com//dialog/oauth?client_id=302061903208115&redirect_uri=https://www.facebook.com/connect/login_success.html&display=popup&type=user_agent&scope=publish_stream,read_stream,status_update,user_photos,friends_photos,xmpp_login") ) ( "StoredIdentity" , QVariant(bool, true) ) ( "requestId" , QVariant(QString, "/com/google/code/AccountsSSO/SingleSignOn/AuthSession_a") ) )
service.cpp 129 runQueue Head: SignOnUi::BrowserRequest(0x185fe20)
browser-request.cpp 105 acceptNavigationRequest QUrl( "https://www.facebook.com//dialog/oauth?client_id=.....&redirect_uri=https://www.facebook.com/connect/login_success.html&display=popup&type=user_agent&scope=publish_stream,read_stream,status_update,user_photos,friends_photos,xmpp_login" )
browser-request.cpp 507 buildDialog Dialog was built
request.cpp 179 setWidget Requesting widget embedding
browser-request.cpp 283 onUrlChanged Url changed: QUrl( "https://www.facebook.com//dialog/oauth?client_id=......&redirect_uri=https://www.facebook.com/connect/login_success.html&display=popup&type=user_agent&scope=publish_stream,read_stream,status_update,user_photos,friends_photos,xmpp_login" )
browser-request.cpp 302 onLoadFinished Load finished true
browser-request.cpp 649 initializeField Couldn't find element: "input[name=email]"
browser-request.cpp 649 initializeField Couldn't find element: "input[name=pass]"
browser-request.cpp 105 acceptNavigationRequest QUrl( "http://www.facebook.com/login.php?skip_api_login=1&next=https://www.facebook.com/dialog/oauth?client_id=.....&redirect_uri=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html&display=popup&type=user_agent&scope=publish_stream%2Cread_stream%2Cstatus_update%2Cuser_photos%2Cfriends_photos%2Cxmpp_login&from_login=1&cancel_uri=https://www.facebook.com/connect/login_success.html&display=popup&api_key=......" )
browser-request.cpp 143 urlIsBlocked Scheme not allowed: "http"

The Problem seems the HTTP Login Request.

My personal and temporary workaround was to change following in src/browser-request.cpp
if (!m_allowedSchemes.contains(url.scheme())) {
        TRACE() << "Scheme not allowed:" << url.scheme();
 > return false;
    }

regards,
BlueCase

BlueCase (bluecase)
description: updated
Revision history for this message
Wobbo (wobbo) wrote :

I have exactly the same problem. Indeed these problems really need to be fixed otherwise the bugs wil be a negative impression of Ubuntu.

Revision history for this message
Maciej Czekaj (natanielcz) wrote :

I have this same.

Revision history for this message
Maciej Czekaj (natanielcz) wrote :

Solution for people who wants to connect to facebook account via online accounts.

sudo apt-get remove --purge gwibber gwibber-service gwibber-service-facebook gwibber-service-flickr gwibber-service-foursquare gwibber-service-identica gwibber-service-statusnet gwibber-service-twitter libgwibber-gtk3 libgwibber3 unity-lens-gwibber
sudo apt-get autoremove --purge -y
rm -rf .cache/gwibber .config/gwibber .gconf/apps/gwibber
gconftool-2 --recursive-unset /apps/gwibber
sudo apt-get install -V gwibber gwibber-service gwibber-service-facebook gwibber-service-identica gwibber-service-twitter unity-lens-gwibber gwibber-service-statusneta

Solution from: http://ubuntuforums.org/showthread.php?t=2072901

It works for me.
But please fix this bug for feature ;)

Revision history for this message
BlueCase (bluecase) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.