[Bug 1236881] Re: Google Account Plugin fails to authenticate

2014-08-14 Thread Sten Jørgen Pettersen
I have a new install of 14.04. Same error. Have tried to
remove/reauthorise, but no change. Still fails to authorise, and when I
click Grant access, I get to enter my google-password, but it returns
to the same password screen every time I enter the password.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2014-04-18 Thread Jean-Max Reymond
With the new 14.04 LTS release, I decide to remove the Google account
from System Parameters and create it again and now it works fine

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2014-03-16 Thread Joao Eduardo Luis
Came late to the 13.10 party, upgrading just yesterday, and haven't been
able to login on my google account either with the same error.

However, my google apps account seems to be logged in.  Last time I got
an authorization request was a few days ago, well before the upgrade and
haven't gotten another since.

Not sure if it's worth mentioning, my google account does have 2-step
verification, whereas the google apps account does not.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2014-03-16 Thread Joao Eduardo Luis
running signon-ui with SSOUI_LOGGING_LEVEL=4 (value I've been increasing
until I got more info), I got this:

(note that I've removed some strings that looked a lot like they could
compromise my account security)


service.cpp 222 queryDialog Got request: QMap((Caption, QVariant(QString, 
Google) ) ( ClientData ,  QVariant(QVariantMap, QMap((AllowedSchemes, 
QVariant(QStringList, (https, http) ) ) ( AuthPath ,  QVariant(QString, 
o/oauth2/auth) ) ( ClientId ,  QVariant(QString, 
759250720802-4sii0me9963n9fdqdmi7cepn6ub8luoh.apps.googleusercontent.com) ) ( 
ClientSecret ,  QVariant(QString, [REMOVED]) ) ( Embedded ,  
QVariant(bool, true) ) ( Host ,  QVariant(QString, accounts.google.com) ) ( 
RedirectUri ,  QVariant(QString, https://wiki.ubuntu.com/;) ) ( 
ResponseType ,  QVariant(QString, codeaccess_type=offline) ) ( Scope ,  
QVariant(QStringList, (https://docs.google.com/feeds/;, 
https://www.googleapis.com/auth/googletalk;, 
https://www.googleapis.com/auth/userinfo.email;, 
https://www.googleapis.com/auth/userinfo.profile;, 
https://picasaweb.google.com/data/;) ) ) ( TokenPath ,  QVariant(QString, 
o/oauth2/token) ) ( WindowId ,  QVariant(uint, 90178289)
  ) )  ) ) ( FinalUrl ,  QVariant(QString, https://wiki.ubuntu.com/;) ) ( 
Identity ,  QVariant(uint, 1) ) ( Mechanism ,  QVariant(QString, 
web_server) ) ( Method ,  QVariant(QString, oauth2) ) ( OpenUrl ,  
QVariant(QString, 
https://accounts.google.com/o/oauth2/auth?client_id=759250720802-4sii0me9963n9fdqdmi7cepn6ub8luoh.apps.googleusercontent.comredirect_uri=https://wiki.ubuntu.com/response_type=code%26access_type%3Dofflinetype=web_serverscope=https://docs.google.com/feeds/
 https://www.googleapis.com/auth/googletalk 
https://www.googleapis.com/auth/userinfo.email 
https://www.googleapis.com/auth/userinfo.profile 
https://picasaweb.google.com/data/;) ) ( Secret ,  QVariant(QString, 
[REMOVED]) ) ( StoredIdentity ,  QVariant(bool, true) ) ( UserName ,  
QVariant(QString, [REMOVED]) ) ( requestId ,  QVariant(QString, 
/com/google/code/AccountsSSO/SingleSignOn/AuthSession_0) ) )

request.cpp 314 newRequest Platform: xcb

service.cpp 132 runQueue Head: SignOnUi::BrowserRequest(0x932090)

browser-request.cpp 125 acceptNavigationRequest  QUrl(
https://accounts.google.com/o/oauth2/auth?client_id=759250720802-4sii0me9963n9fdqdmi7cepn6ub8luoh.apps.googleusercontent.comredirect_uri=https://wiki.ubuntu.com/response_type=code%26access_type%3Dofflinetype=web_serverscope=https://docs.google.com/feeds/
https://www.googleapis.com/auth/googletalk
https://www.googleapis.com/auth/userinfo.email
https://www.googleapis.com/auth/userinfo.profile
https://picasaweb.google.com/data/; )


It seems the culprit is that pair ' ( ResponseType ,  QVariant(QString, 
codeaccess_type=offline))', which afaict from 
/usr/share/accounts/providers/google.provider should have been two different 
entries: ResponseType with value 'code' and AuthPath with value 
'o/oauth2/auth?access_type=offline'.  I've checked with request url, changing 
the '%26' on 'response_type=code%26access_type...' to a '' and the url does 
work -- my guess is that after reading the value from the QVariant, the '' is 
taken as a literal value and not the control character it should have been and 
translated to %26.

I've taken a quick look over the sources of signon-ui and signond but
dind't find where that request is built, nor where does the QMap come
from.

I hope this helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2014-03-16 Thread Joao Eduardo Luis
FWIW, I deleted and recreated the account and everything worked just
fine, although this wasn't the path I initially intended to go take.

Anyway, before deleting the account I found this nifty tool called
'account-console' from the 'account-plugin-tools' package.  Prior to
deletion, this is what I would get from 'account-console show ID':

 
joao@tardis:~$ account-console show 1
account: id 1, enabled, provider: google
  Global settings:
CredentialsId: 1 (class 'int')
auth/mechanism: web_server (class 'str')
auth/method: oauth2 (class 'str')
auth/oauth2/user_agent/AuthPath: o/oauth2/auth (class 'str')
auth/oauth2/user_agent/ClientId: 
759250720802-4sii0me9963n9fdqdmi7cepn6ub8luoh.apps.googleusercontent.com 
(class 'str')
auth/oauth2/user_agent/Host: accounts.google.com (class 'str')
auth/oauth2/user_agent/RedirectUri: https://wiki.ubuntu.com/ (class 'str')
auth/oauth2/user_agent/ResponseType: token (class 'str')
auth/oauth2/user_agent/Scope: ['https://docs.google.com/feeds/', 
'https://www.googleapis.com/auth/googletalk', 
'https://www.googleapis.com/auth/userinfo.email', 
'https://www.googleapis.com/auth/userinfo.profile', 
'https://picasaweb.google.com/data/'] (class 'list')
auth/oauth2/user_agent/TokenPath: o/oauth2/token (class 'str')
auth/oauth2/web_server/AllowedSchemes: ['https', 'http'] (class 'list')
auth/oauth2/web_server/AuthPath: o/oauth2/auth (class 'str')
auth/oauth2/web_server/ClientId: 
759250720802-4sii0me9963n9fdqdmi7cepn6ub8luoh.apps.googleusercontent.com 
(class 'str')
auth/oauth2/web_server/ClientSecret: [REDACTED] (class 'str')
auth/oauth2/web_server/Host: accounts.google.com (class 'str')
auth/oauth2/web_server/RedirectUri: https://wiki.ubuntu.com/ (class 'str')
auth/oauth2/web_server/ResponseType: codeaccess_type=offline (class 
'str')
[TRIM]

See last line 'ResponseType' containing 'codeaccess_type=offline'.  I
also found this in '~/.config/libaccounts-glib/accounts.db', table
'Settings' (e.g., 'select service,key,value from Settings where id
=ACCOUNT-ID').

After recreating the account, 'account-console' now shows pretty much
the same with two different key differences:


auth/oauth2/web_server/AuthPath: o/oauth2/auth?access_type=offline (class 
'str')

and

auth/oauth2/web_server/ResponseType: code (class 'str')


which do reflect the contents of /usr/share/accounts/providers/google.provider


Finally, after looking a bit further into the code, I'm inclined to believe 
that this may have something to do with class QUrl being stripping '' and 
substituting it for a % control char -- given QUrl being used throughout, I 
wasn't able to pinpoint the exact place where this is happening.

If this eventually happens to my other google account, I intend to
backup the sqlite db and attempt an in-place fix by adjusting the values
for keys of ResponseType' and 'AuthPath'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2014-03-16 Thread tino227
** Changed in: account-plugins (Ubuntu)
 Assignee: tino227 (tino-mbucher) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2014-01-03 Thread Joseph Wakeling
Same issue, started occurring after upgrade from 13.10 to 14.04 --
similar error messages.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2013-12-29 Thread Robert Torres
same issue. also occurred on upgrade from 13.04 to 13.10.

response_type=codeaccess_type=offline
scope=https://docs.google.com/feeds/ https://www.googleapis.com/auth/googletalk 
https://www.googleapis.com/auth/userinfo.email 
https://www.googleapis.com/auth/userinfo.profile 
https://picasaweb.google.com/data/
redirect_uri=https://wiki.ubuntu.com/
client_id=759250720802-4sii0me9963n9fdqdmi7cepn6ub8luoh.apps.googleusercontent.com
type=web_server

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2013-10-31 Thread tino227
I've the same error message ...

since the update from 13.04 to 13.10 ...


Error: invalid_request
Invalid response_type: codeaccess_type=offline
Learn more
Request Details
response_type=codeaccess_type=offline
scope=https://docs.google.com/feeds/ https://www.googleapis.com/auth/googletalk 
https://www.googleapis.com/auth/userinfo.email 
https://www.googleapis.com/auth/userinfo.profile 
https://picasaweb.google.com/data/
redirect_uri=https://wiki.ubuntu.com/
client_id=759250720802-4sii0me9963n9fdqdmi7cepn6ub8luoh.apps.googleusercontent.com
type=web_server

** Changed in: account-plugins (Ubuntu)
 Assignee: (unassigned) = tino227 (tino-mbucher)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2013-10-27 Thread Rafi Kamal
I've got this problem too. It shows me the following message:

error:invalid_request
Invalid response_type: codeaccess_type=offline

response_type=codeaccess_type=offline
scope=https://docs.google.com/feeds/ https://www.googleapis.com/auth/googletalk 
https://www.googleapis.com/auth/userinfo.email 
https://www.googleapis.com/auth/userinfo.profile 
https://picasaweb.google.com/data/
redirect_uri=https://wiki.ubuntu.com/
client_id=759250720802-4sii0me9963n9fdqdmi7cepn6ub8luoh.apps.googleusercontent.com
type=web_server

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2013-10-27 Thread Remigiusz Ziemkiewicz
Same problem here. It's appeard just after update from 13.04 to 13.10.

Invalid response_type: codeaccess_type=offline

response_type=codeaccess_type=offline
scope=https://docs.google.com/feeds/ https://www.googleapis.com/auth/googletalk 
https://www.googleapis.com/auth/userinfo.email 
https://www.googleapis.com/auth/userinfo.profile 
https://picasaweb.google.com/data/
redirect_uri=https://wiki.ubuntu.com/
client_id=759250720802-4sii0me9963n9fdqdmi7cepn6ub8luoh.apps.googleusercontent.com
type=web_server

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1236881] Re: Google Account Plugin fails to authenticate

2013-10-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: account-plugins (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1236881

Title:
  Google Account Plugin fails to authenticate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1236881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs