Bug 502080 - Add acount dialog crashes when using OAuth2
Summary: Add acount dialog crashes when using OAuth2
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: EWS Resource (show other bugs)
Version: 6.3.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-27 16:42 UTC by cedar-glade-banish
Modified: 2025-03-27 16:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cedar-glade-banish 2025-03-27 16:42:19 UTC
SUMMARY
When adding an exchange account (e.g. in merkuro calendar) using OAuth2, the whole dialog where one enters the server details crashes, no account is added to the list.

STEPS TO REPRODUCE
1. Add akonadi account of type "Microsoft Exchange Server (EWS)" (I tried it in akonadi-console and merkuro) 
2. Enter valid email (I tried two different ones)
3. choose OAuth2 (Office 365)
4. Press on "Try connect"
5. Enter password in opened microsoft login page (and 2fa maybe)
6. Confirm

OBSERVED RESULT
Notice how the MS login page and the server configuration dialog closed unexpectedly whilst no account has been added

EXPECTED RESULT
The server dialog shouldn't crash and create and account upon confirmation

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800U with Radeon Graphics
Memory: 27.1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
DE/WM: Hyprland

ADDITIONAL INFORMATION
I tried getting a backtrace, but there was no dialog from drkonqi (which is installed). This isn't a surprise as the main app (e.g. merkuro) didn't crash, if I can provide more infos / a backtrace I am happy to help.