Bug 477859 - Can't login to Google Drive
Summary: Can't login to Google Drive
Status: CONFIRMED
Alias: None
Product: kio-gdrive
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 24.01.80
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-01 19:02 UTC by Cihan Işık
Modified: 2024-01-18 22:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cihan Işık 2023-12-01 19:02:53 UTC
SUMMARY
***
Can't login to Google Drive with 24.01.80. I get a "this app was blocked" Google error when trying to give access to it in the browser window. 
***


STEPS TO REPRODUCE
1. Try to access Google Drive through Dolphin
2. try to login and give access to kio-gdrive on Google's webpage

OBSERVED RESULT
Access to Google Drive is denied

EXPECTED RESULT
Access to Google Drive is permitted

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Comment 1 Felix Ernst 2024-01-17 15:49:58 UTC
I have the same issue.
Comment 2 Nicolas Fella 2024-01-17 23:53:34 UTC
This happens when building without KAccounts and using the fallback account management. That one has a separate Google API key that likely needs to be replaced
Comment 3 Nicolas Fella 2024-01-17 23:55:06 UTC
https://invent.kde.org/network/kio-gdrive/-/commit/6d7456fde9762bf76007388d17b7367b20160ac4 suggests this might not have ever worked without additional steps
Comment 4 Felix Ernst 2024-01-18 22:11:47 UTC
(In reply to Nicolas Fella from comment #2)
> This happens when building without KAccounts and using the fallback account management.

For completeness sake I want to add then that I got my version from the repository "KDE:Unstable:Applications" by opensuse i.e. "obs://build.opensuse.org/KDE:Unstable".

>https://invent.kde.org/network/kio-gdrive/-/commit/6d7456fde9762bf76007388d17b7367b20160ac4 

That commit message says that one could still enable this by going "in the 'advanced' section of the oauth screen and click[ing] on the 'I trust KDE e.V. as developer button' " a year ago. I unfortunately can't find this section or button if they still exist.