Bug 473504 - Invalid request when authenticating to GDrive
Summary: Invalid request when authenticating to GDrive
Status: REPORTED
Alias: None
Product: kipiplugins
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.9.0
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: imaging-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 10:44 UTC by Emanuele Fabrizio
Modified: 2023-08-18 10:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Error returned from Google Sign-in (38.65 KB, image/png)
2023-08-18 10:44 UTC, Emanuele Fabrizio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Fabrizio 2023-08-18 10:44:06 UTC
Created attachment 161045 [details]
Error returned from Google Sign-in

SUMMARY
***
From Spectacle, when exporting a screenshot to GDrive, the browser opens correctly trying to authenticate the google account, but it fails with the following message: invalid_request
Details are in the screenshot.
***

STEPS TO REPRODUCE
1.  Open Spectacle
2.  Take a screenshot
3.  Choose to "Export -> More Online Services -> Export to Google Drive..."

OBSERVED RESULT
The browser opens loading a URL from accounts.google.com and it responds with "invalid_request".

EXPECTED RESULT
The browser opens loading a URL from accounts.google.com and it presents the list of accounts to choose from.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
(available in About System)
KDE Plasma Version:  5.24.7
KDE Frameworks Version:  5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Google directs the developer to use Out-Of-Band (OOB) flow Migration with information at this URL:
https://developers.google.com/identity/protocols/oauth2/resources/oob-migration

It seems that since February 16, 2022 the authentication method had to change.