https://bugs.kde.org/show_bug.cgi?id=439639

            Bug ID: 439639
           Summary: kio-gdrive (built against qtkeychain!) not allowed to
                    connect via "Akonadi Resources for Google Services"
                    and needs regular re-authentication with a private
                    ID,secret pair
           Product: kio-gdrive
           Version: unspecified
          Platform: Compiled Sources
                OS: All
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: general
          Assignee: elvis.angelac...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

Created attachment 139947
  --> https://bugs.kde.org/attachment.cgi?id=139947&action=edit
resource forbidden error in "drives-example"

SUMMARY
I am no longer able to access my GDrive via kio-gdrive and libkgapi using the
built-in credentials (client ID 554041944266). When I go through kio-gdrive and
try to add a new account, I'm taken to the "App blocked" page (using
qtkeychain, but even with libkgapi 20.11.80 which already opens the auth page
in my webbrowser).

STEPS TO REPRODUCE
1. Build kio-gdrive against qtkeychain, install (and libkgapi 20.11.80 or
*presumably* newer)
2. run `dolphin gdrive:`
3. click "New account"
4. Find the auth. page in your browser, pick an account or authenticate to give
access to "Akonadi Resources for Google Services"

OBSERVED RESULT
"This app is blocked

This app tried to access sensitive info in your Google Account. To keep your
account safe, Google blocked this access."

EXPECTED RESULT
The next step in the auth. process

I CAN get beyond that step using my own Google Cloud client ID,secret pair to a
project in which I configured Google Drive API access. Afterwards, I can quit
dolphin and restart it again and still have direct access to my Google Drive,
but when I try again some time later I have to jump through the authentication
again, pretending to create a new account.

ADDITIONAL INFORMATION
Using the drives-example test from libkgapi's examples I do get past the
authentication, but the app window shows no content. Clicking "Get Drive List"
then gives me the attached "resource forbidden" message that suggests that the
Google Drive APIs haven't been configured or sanctioned yet.
It also suggests a subtle difference in the authentication procedures used by
kio-gdrive's keychainaccountmanage.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to