Launchpad has imported 28 comments from the remote bug at https://bugs.kde.org/show_bug.cgi?id=414219.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2019-11-17T02:59:11+00:00 LanceHaverkamp wrote: SUMMARY Using Kio Gdrive Online Accounts. Trying to set things up for first use. It goes through the motions, lets me click new account, connects to Google, Google asks for my username & password, then asks for 2FA code. Everything looks like it's going to work, but I can never get access to Google. The link that should appear in Dolphin for a specific Google account is never created. The only link in that ever appears in gdrive:/ is "new account" I've tried this with both a Gsuite account, and a non-Guite account; neither works. Using KDE Neon: Version 5.17.2 Also tried in Kubuntu 18.04 (LTS), exact same results STEPS TO REPRODUCE 1. install kio-gdrive 2. In dolphin Network > Google Drive > New Account > Create > Google > Enter email > Enter Password > Enter 2FA > Allow > Done OBSERVED RESULT Newly authorized account does not appear in Dolphin under gdrive:/ EXPECTED RESULT An icon in Dolphin under gdrive:/ to access your account SOFTWARE/OS VERSIONS Linux/KDE Plasma: Both KDE Neon & Kubuntu LTS (available in About System) KDE Plasma Version: 5.17.2 KDE Frameworks Version: 5.63.0 Qt Version: 5.13.1 Also tried in Kubuntu 18.04 (LTS), from a different computer, exact same results ADDITIONAL INFORMATION I have verified that the google settings for my account do allow third- party app access. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/0 ------------------------------------------------------------------------ On 2019-11-23T16:27:22+00:00 Bobby-b wrote: It seems I can reproduce this in KDE neon 5.17, Plasma 5.17.3, Frameworks 5.64.0, Qt 5.13.2. New Google accounts added from System Settings > Personalization > Online Accounts won't actually have their username appear either (Screenshot: https://i.fiery.me/bGl8.png). The account did not use 2FA. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/1 ------------------------------------------------------------------------ On 2019-11-24T10:05:14+00:00 Elvis-angelaccio-o wrote: Can reproduce, something broke :/ Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/2 ------------------------------------------------------------------------ On 2019-11-24T12:06:54+00:00 Elvis-angelaccio-o wrote: Not a kio-gdrive bug. The problem is that kaccounts fails to add the Google account. Details of the issue at https://gitlab.com/accounts-sso /signon-ui/issues/2 Moving to kaccounts-provider for now. We need to figure out if the problem is on our side (kaccounts-provider) or is an upstream issue (signon-ui). Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/3 ------------------------------------------------------------------------ On 2019-11-25T16:25:49+00:00 LanceHaverkamp wrote: I do receive an email from Google letting me know that "KDE KAccounts Provider was granted access to your Google Account" so the login actually works, from Google's perspective. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/4 ------------------------------------------------------------------------ On 2019-11-27T15:19:43+00:00 Marco Parillo wrote: Is it relevant that when I enter an incorrect password, I immediately fail (Wrong password. Try again or click Forgot password to reset it.), but when I enter a correct password, I get an empty Web authentication for google window, and when I close that window, I get and Unable to finish -- System Settings Module window with: There was an error while trying to process the request: Access grant not present Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/5 ------------------------------------------------------------------------ On 2019-11-27T15:24:50+00:00 LanceHaverkamp wrote: (In reply to Marco Parillo from comment #5) > Is it relevant that when I enter an incorrect password, I immediately fail > (Wrong password. Try again or click Forgot password to reset it.), but when > I enter a correct password, I get an empty Web authentication for google > window, and when I close that window, I get and Unable to finish -- System > Settings Module window with: There was an error while trying to process the > request: Access grant not present I see the empty window a lot, I just keep hitting refresh/reload; I suspect that's unrelated. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/6 ------------------------------------------------------------------------ On 2019-12-01T11:29:22+00:00 Elvis-angelaccio-o wrote: Tried again today and I could add my account without any issue. Weird. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/7 ------------------------------------------------------------------------ On 2019-12-02T20:13:30+00:00 LanceHaverkamp wrote: That's truly bizarre, it's working for me now, too. Something very weird was going-on there, as Google clearly thought is was working both before & now. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/8 ------------------------------------------------------------------------ On 2019-12-03T15:45:37+00:00 Marco Parillo wrote: Still not working for me. In addition to kio-gdrive and kaccounts- provider are there any other dependencies? Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/9 ------------------------------------------------------------------------ On 2019-12-03T21:25:11+00:00 LanceHaverkamp wrote: (In reply to Marco Parillo from comment #9) > Still not working for me. In addition to kio-gdrive and kaccounts-provider > are there any other dependencies? Marco is correct, it seems only my KDE Neon (Stable Version 5.17.3)is working properly. My Kubuntu 18.04 LTS laptop is still failing. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/10 ------------------------------------------------------------------------ On 2019-12-12T02:41:08+00:00 Hulitolku wrote: Manjaro KDE 18.1.4 kaccounts-providers not work. Not loggin in google accaount. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/11 ------------------------------------------------------------------------ On 2019-12-22T01:05:47+00:00 Bernard Tremblay wrote: Same for me. It seems the kde gdrive application is not yet approved by google. Can you do something for it. see printscreen at : http://imaginasys.fastmail.fm/gdrive_not_approved.png messages are in french. It just says that google connection is disabled for that application because it has not been verified by google yet. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/12 ------------------------------------------------------------------------ On 2019-12-22T17:35:16+00:00 Rik Mills wrote: Created attachment 124655 blocked Blocked by Google in Kubuntu 18.04 and 19.10. See message attached. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/13 ------------------------------------------------------------------------ On 2019-12-22T17:38:22+00:00 Marco Parillo wrote: Possibly related to: https://bugs.kde.org/show_bug.cgi?id=415089 Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/14 ------------------------------------------------------------------------ On 2019-12-31T21:17:18+00:00 Andrius wrote: *** Bug 415696 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/15 ------------------------------------------------------------------------ On 2020-01-19T16:35:40+00:00 Elvis-angelaccio-o wrote: (In reply to Marco Parillo from comment #14) > Possibly related to: https://bugs.kde.org/show_bug.cgi?id=415089 Nope, the two issues are unrelated. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/16 ------------------------------------------------------------------------ On 2020-01-26T12:54:57+00:00 Wbauer wrote: Maybe the KCM should set some default name if the username cannot be retrieved for whatever reason? That would at least serve as a workaround, and should not be difficult to implement I suppose. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/17 ------------------------------------------------------------------------ On 2020-01-26T13:00:51+00:00 Wbauer wrote: PS: I'll post a workaround here as well, to be able to use kio-gdrive despite of this problem. - Run "sqlite3 ~/.config/libaccounts-glib/accounts.db" - Enter "select * from Accounts;" to get the id of the account - Enter "update Accounts set name="username" where id=1;" to set a username and it should work. (replace 1 with the actual id, the username is actually irrelevant and can be anything, it's just used to display the account in the settings and kio-gdrive) Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/18 ------------------------------------------------------------------------ On 2020-01-26T13:04:43+00:00 Wbauer wrote: (In reply to Wolfgang Bauer from comment #18) > PS: I'll post a workaround here as well, to be able to use kio-gdrive > despite of this problem. > > - Run "sqlite3 ~/.config/libaccounts-glib/accounts.db" > - Enter "select * from Accounts;" to get the id of the account > - Enter "update Accounts set name="username" where id=1;" to set a username > and > it should work. (replace 1 with the actual id, the username is actually > irrelevant and can be anything, it's just used to display the account in the > settings and kio-gdrive) I maybe should add that the id is the first number in the output of the select statement. Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/19 ------------------------------------------------------------------------ On 2020-02-17T19:45:53+00:00 Kitaev wrote: Thanks, Wolfgang, this workaround resolved this issue for me! Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/20 ------------------------------------------------------------------------ On 2020-02-18T09:21:47+00:00 Wbauer wrote: I looked a bit more into this now. This is the code that sets the account name (in kaccounts-integration/src/jobs/createaccount.cpp, line : if (m_account->displayName().isEmpty()) { m_account->setDisplayName(info.userName()); } info.userName() is an empty string here, and that breaks things. But, this is only used for display purposes, not for the actual authentification (that's why the workaround in comment#18 actually works). So we could just use any other string here to fix this bug. Proof-of-Concept "patch": sed -i 's/m_account->setDisplayName(info.userName());/m_account->setDisplayName(QString("Account%1").arg(info.id()));/' src/jobs/createaccount.cpp That would set the account name to "Account123" or similar. (or maybe use QString("%1%2").arg(info.caption().arg(info.id()), that would give something like "google123" ;-) ) Of course one could also only do that if info.userName() is actually empty as well (i.e. what I suggested in comment#17). Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/21 ------------------------------------------------------------------------ On 2020-02-18T09:42:30+00:00 Wbauer wrote: Small corrections: (In reply to Wolfgang Bauer from comment #21) > This is the code that sets the account name (in > kaccounts-integration/src/jobs/createaccount.cpp, line : I forgot the actual line number here, it's line #183 > (or maybe use QString("%1%2").arg(info.caption().arg(info.id()) A bracket is missing there, should be: QString("%1%2").arg(info.caption()).arg(info.id()) ;-) Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/22 ------------------------------------------------------------------------ On 2020-02-18T11:45:02+00:00 Wbauer wrote: I uploaded a patch to phabricator: https://phabricator.kde.org/D27474 Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/23 ------------------------------------------------------------------------ On 2020-02-25T21:54:46+00:00 Nicolas-fella wrote: *** Bug 389784 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/28 ------------------------------------------------------------------------ On 2020-03-02T20:59:35+00:00 Wbauer wrote: Git commit 4600d32a1c063db62c371b422f26263d1e991b40 by Wolfgang Bauer. Committed on 02/03/2020 at 20:55. Pushed by wbauer into branch 'release/19.12'. [CreateAccount job] Never set an empty name when creating an account At least when creating a google account, signon-ui isn't able to extract the username from the login page anymore since a couple of months (and newer versions ported to QtWebEngine don't even extract it at all anymore because it was considered to be too fragile, which apparently proved to be true...). This looks kind of broken, and actually made kio-gdrive useless as that doesn't even list accounts with an empty name. To fix it, set the name to some arbitrary string in the case that info.userName() is empty. FIXED-IN: 19.12.3 Differential Revision: https://phabricator.kde.org/D27474 M +6 -1 src/jobs/createaccount.cpp https://commits.kde.org/kaccounts- integration/4600d32a1c063db62c371b422f26263d1e991b40 Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/29 ------------------------------------------------------------------------ On 2020-03-05T20:36:27+00:00 Wbauer wrote: *** Bug 414010 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/30 ------------------------------------------------------------------------ On 2020-03-15T17:29:22+00:00 Elvis-angelaccio-o wrote: *** Bug 418571 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/kaccounts- integration/+bug/1864627/comments/31 ** Changed in: kaccounts-integration Status: Unknown => Fix Released ** Changed in: kaccounts-integration Importance: Unknown => Medium ** Bug watch added: gitlab.com/accounts-sso/signon-ui/issues #2 https://gitlab.com/accounts-sso/signon-ui/issues/2 ** Bug watch added: KDE Bug Tracking System #415089 https://bugs.kde.org/show_bug.cgi?id=415089 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864627 Title: Can't configure Google account To manage notifications about this bug go to: https://bugs.launchpad.net/kaccounts-integration/+bug/1864627/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
