I gave KDE access to my Google account, I was asked for a confirmation code by phone 3 times and then I had to confirm the confirmation codes by phone again, everything went well - access was granted to KDE and they can do whatever they want with my account.
Sorry to inform you google has restricted KIO support for no apparent reason and mandates the KDE community to do go through stupid bureaucratic steps to hope to fix this:
I studied the provided access to see WHAT EXACTLY Google allows to use: there is Youtube and Calendar, but no Drive, despite the fact that when providing access it was indicated - Mark all.
Most likely, KDE is misleading users by indicating that KDE Online Accounts provides access to Drive, such access is NOT, but there is access to use and change my Google account data
It’s very strange that Google doesn’t provide access by application passwords, that’s exactly what I thought, that it doesn’t work because of this, but entering the application password didn’t help
The issue has been resolved: the network account has been removed from the settings
Google blocked us from using this back in June because we weren’t able
justify our API usage to their satisfaction.
Most KDE developers minimize their usage of Google services these days, so the overlap between “people who care about Google Drive integration working” and “people who have the interest and time to engage with Google to prove the security of KDE’s Google Drive client implementation” is becoming smaller over time. That’s the backstory to why this broke, why it’s not fixed yet, and why even my exceptionally crude change took so long to get done.
If anyone wants to take initiative to communicate with Google directly on KDE’s behalf to prove the security of our Google Drive client, and then also do it again every year when they make us re-certify, and then also do it again randomly when they tighten the requirements again, please let me know and I’ll be happy to direct you to the right place.