Bug 477859

Summary: Can't login to Google Drive
Product: [Frameworks and Libraries] kio-gdrive Reporter: Cihan Işık <chn.isik>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: CONFIRMED ---    
Severity: normal CC: felixernst, nicolas.fella
Priority: NOR    
Version First Reported In: 24.01.80   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.