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

            Bug ID: 505428
           Summary: Cannot connect to institutional Google Mail accounts
    Classification: Frameworks and Libraries
           Product: Akonadi
      Version First 6.4.2
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: Gmail resource
          Assignee: kdepim-b...@kde.org
          Reporter: tomas.teije...@gmail.com
                CC: c...@carlschwan.eu, dvra...@kde.org
  Target Milestone: ---

SUMMARY
I find it impossible to configure an institutional gmail-based IMAP account, or
even a regular gmail account on Akonadi/KMail. Response message is always
"failed to authenticate additional scopes".




STEPS TO REPRODUCE
1. Create a new IMAP account. 
2. Server: imap.gmail.com.
3. Settings: SSL/TLS. Port: 993. Authentication (Plain/XOAuth, both fail).

OBSERVED RESULT
Failure notification with the message "failed to authenticate additional
scopes". If I start Akonadi from the command line, I can see the following
message:

org.kde.kgapi: Bad request
QUrl("https://accounts.google.com/o/oauth2/token?prettyPrint=false";) , Google
replied ' "{\n  \"error\": \"invalid_grant\",\n  \"error_description\": \"Bad
Request\"\n}" '


EXPECTED RESULT
 - Some login window for Google on the browser should appear, and then I would
expect IMAP to download my emails and work as usual.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: KDE Neon 6.3
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
The account was working properly till mid-May 2025 with PLAIN authentication.
It is an institutional googlemail account without support for 2FA.

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

Reply via email to