Bug 459059 - akonadi_google_resource forgets access token
Summary: akonadi_google_resource forgets access token
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-13 12:35 UTC by Sebastian Frei
Modified: 2022-09-13 12:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Frei 2022-09-13 12:35:52 UTC
The akonadi_google_resource seems to forget the authorization for the google account.

STEPS TO REPRODUCE
1.  Create a new google calendar resource in korganizer
2.  Reboot and/or wait a while
3.  This message will be in the system log:

Sep 13 13:01:08 PC akonadi_google_resource[1829]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid.
Sep 13 13:01:08 PC akonadi_google_resource[1829]: org.kde.pim.google: Got error: KGAPI2::TaskListFetchJob(0x55963b9574d0) "Ungültige Authentifizierung."
Sep 13 13:01:08 PC akonadi_google_resource[1829]: org.kde.kgapi: Unauthorized. Access token has expired or is invalid.
Sep 13 13:01:08 PC akonadi_google_resource[1829]: org.kde.pim.google: Got error: KGAPI2::CalendarFetchJob(0x55963b9abc30) "Ungültige Authentifizierung."

4. The calendar does not receive updates anymore.

Used versions:
kdepim-runtime 22.08.1-1.1 from OpenSUSE Tumbleweed
plasma5-desktop 5.25.5-1.1
plasma-framework 5.97.0-1.2
qt 5.15.1+kde166-1.2

Access is granted via FireFox.
The accessToken and refreshToken are stored in kdewallet.

Maybe related to bug https://bugs.kde.org/show_bug.cgi?id=391186