Bug 504966

Summary: Auth requested constantly
Product: [Frameworks and Libraries] Akonadi Reporter: Damian C <dcalvino>
Component: IMAP resourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 6.4.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Damian C 2025-05-29 15:41:26 UTC
SUMMARY
Kontact asks for authentication by opening a browser and signing in, constantly. With both of my Microsoft accounts. Gmail account works ok.

STEPS TO REPRODUCE
1.  Boot the system / Open Kontact / Open Kmail / Wait a little while
2. The authentication request browser window opens, one tab for each account."Are you trying to sign in to Kontact?".
3. Even after logging in, it continues to ask for it after some minutes.

OBSERVED RESULT
 Even after logging in, it continues to ask for it after some minutes.

EXPECTED RESULT
The app continues to be logged in and won't ask for authentication again unless I change my password or something.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.7-zen2-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070

ADDITIONAL INFORMATION
It started happening a few updates ago, (couple weeks ago) unsure with which version it started though.

This can be observed in journalctl -xe

may 29 12:39:15 damian-arch kalendarac[1536]: [SASL-XOAUTH2] - Requesting authID!
may 29 12:39:15 damian-arch kalendarac[1536]: [SASL-XOAUTH2] - Requesting token!
may 29 12:39:15 damian-arch kalendarac[1536]: [SASL-XOAUTH2] - filling prompts!
may 29 12:39:15 damian-arch kalendarac[1536]: [SASL-XOAUTH2] - Requesting authID!
may 29 12:39:15 damian-arch kalendarac[1536]: [SASL-XOAUTH2] - Requesting token!