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

            Bug ID: 520547
           Summary: Google Resource persistent "Invalid authentication" /
                    OAuth token refresh failure (v26.04.1)
    Classification: Frameworks and Libraries
           Product: Akonadi
      Version First GIT (master)
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

***
If you're not sure this is actually a bug or valid feature request, instead
post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

DESCRIPTION
I am experiencing a persistent authentication failure with Google services in
Plasma 6. Despite successfully completing the OAuth login flow and granting all
requested permissions, the Akonadi Google Resource fails to sync and repeatedly
logs "Invalid authentication" errors.

STEPS TO REPRODUCE
 Steps to Reproduce:
   1. Add a Google account via System Settings -> Online Accounts.
   2. Grant permissions in the browser/popup.
   3. Open KMail or KOrganizer.
   4. The resource status shows "Invalid authentication" or "Unauthorized."



OBSERVED RESULT
 The resource fails to sync. Logs from journalctl --user -u
akonadi_control.service show:

   1 akonadi_google_resource: Trying to read password for "[YOUR_EMAIL]"
   2 akonadi_google_resource: Unauthorized. Access token has expired or is
invalid.
   3 akonadi_google_resource: Got error: KGAPI2::People::ContactGroupFetchJob
"Invalid authentication."
   4 akonadi_google_resource: Got error: KGAPI2::CalendarFetchJob "Invalid
authentication."
   5 akonadi_google_resource: Got error: KGAPI2::TaskListFetchJob "Invalid
authentication."


EXPECTED RESULT

 The OAuth token should be stored in KWallet and refreshed automatically to
maintain synchronization for Mail, Calendars, and Contacts.


SOFTWARE/OS VERSIONS
 * Plasma Version: 6.6.5
   * Akonadi/KMail Version: 26.04.1
   * Libkgapi Version: 26.04.1
   * KAccounts-Providers Version: 26.04.1
   * OS: Arch Linux (Kernel: 6.x)
   * KWallet: Open and active.

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

Reply via email to