[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1054919: kaccounts-providers: google authentication hang after username entry



Package: kaccounts-providers
Version: 4:22.12.3-2
Severity: important
Tags: patch

Dear Maintainer,

When trying to login to a google account to use google drive with kio-gdrive,
the authentication hang.

The reproduction steps are:
- Open systemsettings
- Go to online accounts
- Add a new account and choose "Google"
- A webpage dialog is opened with the google login page
- Enter the username then click on "Next" on the google login page
- The webpage hangs there and never goes to the next page


To fix this, I've put this line in /etc/signon-ui/webkit-
options.d/accounts.google.com.conf:
UserAgent = Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101
Firefox/77.0

The webpage issue is maybe caused by the use of Qt webkit, using an older
UserAgent probably causes Google to offer an older login page that works with
Qt webkit.

As the UserAgent is required to make the login work, can it be added to the
package ?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kaccounts-providers depends on:
ii  kio                           5.107.0-1
ii  kpackagetool5                 5.107.0-1
ii  libc6                         2.37-12
ii  libkaccounts2                 4:22.12.3-1
ii  libkf5coreaddons5             5.107.0-1
ii  libkf5declarative5            5.107.0-1
ii  libkf5i18n5                   5.107.0-1+b1
ii  libkf5kiocore5                5.107.0-1
ii  libkf5package5                5.107.0-1
ii  libqt5core5a                  5.15.10+dfsg-3
ii  libqt5gui5                    5.15.10+dfsg-3
ii  libqt5qml5                    5.15.10+dfsg-2
ii  libqt5webengine5              5.15.15+dfsg-2+b1
ii  libqt5webenginecore5          5.15.15+dfsg-2+b1
ii  libqt5xml5                    5.15.10+dfsg-3
ii  libstdc++6                    13.2.0-5
ii  plasma-framework              5.107.0-1
ii  qml-module-org-kde-kirigami2  5.107.0-1+b1
ii  qml-module-qtquick-controls   5.15.10-2
ii  qml-module-qtquick-layouts    5.15.10+dfsg-2
ii  qml-module-qtquick2           5.15.10+dfsg-2
ii  qml-module-qtwebengine        5.15.15+dfsg-2+b1
ii  signon-plugin-oauth2          0.25-2

Versions of packages kaccounts-providers recommends:
ii  libkf5purpose-bin  5.107.0-1

kaccounts-providers suggests no packages.

-- Configuration Files:
/etc/signon-ui/webkit-options.d/accounts.google.com.conf changed:
ViewportWidth = 480
ViewportHeight = 420
UsernameField = input[name="Email"]
PasswordField = input[name="Passwd"]
AllowedUrls = (https://.*|http://[^/]*google\\.[^.]+/accounts/.*)
UserAgent = Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/77.0


-- no debconf information

--
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F                 |


Reply to: