Bug 450656

Summary: Gmail login failed.
Product: [Applications] kmail2 Reporter: PaSe <psem47>
Component: commands and actionsAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: major    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description PaSe 2022-02-21 15:18:43 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Set up a new gmail account in Kmail and attempt to login imap/smtp using gmail 2-factor oauth2 login.
2. 
3.  

OBSERVED RESULT
Login fails to open a webui to enter second factor key number but on KOrganizer works as it should and uses webUI.

EXPECTED RESULT
Temporary Oauth2 key is stored for app use (imap/smtp use case)


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:     Linux (x86_64) release 4.19.0-18-amd64 Debian 10 buster
(available in About System)
KDE Plasma Version:      kde-plasma-desktop                                          5:102
KDE Frameworks Version:    
Qt Version:                    5.11.3-4
Kmail:                            5.9.3

ADDITIONAL INFORMATION
Comment 1 PaSe 2022-02-21 15:29:11 UTC
The server for account "Google Mail (psem47)" refused the supplied username and password. Do you want to go to the settings, have another attempt at logging in, or do nothing?

Login failed, server replied: A000002 NO Application-specific password required: https://support.google.com/accounts/answer/185833 ( Failure ) [ ALERT  ]