KDE Online Accounts - Not Signing In

Hi all, I found this problem was solved with Fedora39!
(Or 28 also with new update? I don’t know…)

Hi all, I installed KDE 6.0 and this happens again, I can’t create an online account, and having the same message.
If you can try without @gmail.com, as I was able to map it, even though Dolphin does not show the mapped drive.

1 Like

Try to log in pressing blue buttons with your mouse.
When I use only the keyboard, the auth. fail, complaining about an unsecure browser blah blah…
When I gently click the big blue buttons to validate, its ok.
I can reach my gdrive trough dolphin, even its buggy AF.

2 Likes

Struggling with the same issue with KDE Neon. This is defietively a KDE bug, as the Gnome distros don`t have problem to connect to google account
at all.

That advice actually worked. I am on latest arch:

local/signon-kwallet-extension 24.02.2-1 (kde-applications kde-network)
    KWallet integration for signon framework
local/signon-plugin-oauth2 0.25-3
    OAuth 2 plugin for signon
local/signon-ui 0.17+20231016-2
    UI component responsible for handling the user interactions which can happen during the login process of
    an online account
local/signond 8.61-3
    A D-Bus service which performs user authentication on behalf of its clients

I managed to complete the sign-in process on Kubuntu 24.04 by right clicking the window background and selecting “reload” at the point where it appears to hang. Doing that gives an updated window where it’s waiting for you to complete the 2FA with a security key (which I never got to work), but there’s a button to “try another way” that then allows logging in with other 2FA methods.

However, when trying to access gdrive:/ I now get

[1482353.987091] kioslave5[1598827]: segfault at 0 ip 0000741858b0a9e4 sp 00007fff48635698 error 4 in libKPim5GAPIDrive.so.5.24.5[741858b06000+46000] likely on CPU 6 (core 12, socket 0)
[1482353.987100] Code: 05 06 00 48 89 de 48 8d 15 39 06 06 00 e8 44 cc ff ff 4c 89 e7 e8 5c c8 ff ff 48 89 d8 5b 41 5c 5d c3 0f 1f 40 00 f3 0f 1e fa <8b> 07 31 d2 85 c0 74 0a 83 f8 ff 75 0f ba 01 00 00 00 89 d0 c3 0f

in dmesg. My libkpim5gapidrive5 version is 23.08.5-0ubuntu3.

Same problem here with up-to-date KDE Neon (user edition).
After many attempts I was able to enter the google credentials (by pressing TAB to nagivate, when the blue button is highlighted, press ENTER); but then the connection fails anyways. Opening dolphin from the terminal I get

  $ dolphin 
"Failed to I/O session data to/from the signon daemon."
kf.kio.workers.gdrive: GetCredentialsJob failed: "Failed to I/O session data to/from the signon daemon."
qt.network.http2: connection error: GOAWAY invalid stream/error code

Hi, since the issue happens with KDE Neon, it’s not clear to me that this is not KDE related.

I tried again from another network (home) and now here is what I get
``$ `dolphin
org.kde.kgapi: Bad request, Google replied ’ “{\n "error": {\n "code": 400,\n "message": "Invalid field selection etag,kind,nextLink,nextPageToken,selfLink,items(,labels,exportLinks,lastViewedByMeDate,alternateLink,kind)",\n "errors": [\n {\n "message": "Invalid field selection etag,kind,nextLink,nextPageToken,selfLink,items(,labels,exportLinks,lastViewedByMeDate,alternateLink,kind)",\n "domain": "global",\n "reason": "invalidParameter",\n "location": "fields",\n "locationType": "parameter"\n }\n ]\n }\n}\n” ’
kf.kio.core: UDSEntry for ‘.’ not found, creating a default one. Please fix the “kio_gdrive” KIO worker.

Same as for kulak above. This solution actually works on up to date manjaro. It fails seemingly randomly though but after a few attempts I can get it to work.

Clearly this is not due to an outdated signon-ui package as the accepted answer says. Looks more like bug id=480779 (I am not allowed to include a link…)

local/signon-kwallet-extension 24.05.2-1 (kde-applications kde-network)
    KWallet integration for signon framework
local/signon-plugin-oauth2 0.25-3
    OAuth 2 plugin for signon
local/signon-ui 0.17+20231016-2
    UI component responsible for handling the user interactions which can happen during the login process of an online account
local/signond 8.61-3
    A D-Bus service which performs user authentication on behalf of its clients

I had the same issue trying to get this running on Garuda linux / Arch KDE. I got the same ‘Authentication’ error but got it to work, after I tried to update KIO again in the terminal. (It updated the app but showed the same version number, for whatever reason.) After that, I was able to login to my Gdrive and works fine now! Maybe some weird bug or something? I really don’t know.

Could any report what the console outputs when reproducing the issue, when launching dolphin with command:

QT_LOGGING_RULES=org.kde.kgapi.debug=true dolphin