https://bugs.kde.org/show_bug.cgi?id=492683
Bug ID: 492683 Summary: XOAUTH error attempting to add new Gmail account Classification: Applications Product: kmail2 Version: 6.2.0 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdepim-b...@kde.org Reporter: scott.s.l...@gmail.com Target Milestone: --- Created attachment 173350 --> https://bugs.kde.org/attachment.cgi?id=173350&action=edit Google error page opened after KMail attempts to authenticate/authorize *** If you're not sure this is actually a bug, 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 *** SUMMARY I'm observing this behavior on a new installation of KDE/KMail on Arch Linux. When trying to add a new Gmail account, Kmail (correctly) opens a browser to complete the XOAUTH/OAuth2 process necessary for Gmail. However, there is some sort of error in the URL and/or the request, and Gmail will present an error (see attachments for screenshots of the errors). This does not affect previously-configured Gmail accounts; I have another Arch Linux system (running Plasma 6 but upgraded from Plasma 5) with an existing Gmail account that continues to work without any issues. To try to eliminate potential browser-related issues (I'm using Firefox 130), I've disabled all relevant/pertinent add-ons. I've tried logging into my Gmail account first so that the new tabs opened by KMail would already have the necessary credentials (it didn't help). I've also made sure that I'm completely logged out (logged out, closed all windows, restarted Firefox) to see if that would help (it did not). Based on the wording in the error messages, I suspect (but cannot verify) that this may be due to a recent change in Google authentication URLs or APIs. STEPS TO REPRODUCE 1. Use the Add Account Wizard to attempt to add a new Gmail account. 2. When the browser opens, it will report an error (see attachments). It may also open an additional window or tab with more information about an invalid OAuth2 scope name. OBSERVED RESULT Google reports an error and does not authorize KMail to access Google resources. EXPECTED RESULT The authentication process would proceed as expected and allow the user to authorize KMail to access Google resources. SOFTWARE/OS VERSIONS Windows: N/A macOS: N/A (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Arch Linux kernel 6.17.0-arch1-1 KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION I have tried some (very minor) troubleshooting by comparing the working KMail installation on a second system with the new KMail installation that isn't working. The working system previously ran Plasma 5 and still has some Qt5-related packages installed; installing those on the new system did not help. Later today I'll install a secondary browser to verify that this isn't a Firefox-related failure, although that seems unlikely. -- You are receiving this mail because: You are watching all bug changes.