Bug 391908 - Cannot log into Google account with YubiKey
Summary: Cannot log into Google account with YubiKey
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kaccounts (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-16 00:59 UTC by Janek Bevendorff
Modified: 2021-07-29 15:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (49.75 KB, image/png)
2020-05-28 20:54 UTC, Philipp Wagner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Bevendorff 2018-03-16 00:59:14 UTC
I cannot connect my Google account, which is secure with a YubiKey as second factor.

YubiKeys only work in Chrome, so trying to log in with the KDE online auth client shows an error message on the Google login page. This is not surprising and would also not be a problem if clicking the link for choosing a different method (i.e. Authenticator or SMS TOTP code), wouldn't close the authentication window and abort the process with an authentication error.
Comment 1 Janek Bevendorff 2018-09-01 19:06:57 UTC
Any chance this gets fixed? I would really like to add my Drive account to Dolphin, but it's impossible.
Comment 2 Philipp Wagner 2020-05-28 20:54:36 UTC
Created attachment 128883 [details]
Screenshot

Unfortunately that's still a problem, but there's a workaround now provided by Google: click on "Try another way" and on "Get a one-time security code". You can then copy-paste a web site URL into Firefox or Chrome, log into your Google account, and generate a one-time 6-digit code to paste back into the login window of KAccounts.

I guess a fix for this problem would either involve switching away from QtWebKit to an embedded Chrome, or spawn a Firefox or Chrome instance and somehow get the generated token back.