Created attachment 121142 [details]
Logs Showing Problem
Kmail office 365 connection not working logs say that it is using password based authentication
STEPS TO REPRODUCE
1. Create New Account
2. Enter Email
3. Select OAuth2 (Office 365)
4. enter EWS URL: https://outlook.office365.com/ews/exchange.asmx
5. Hit Try Connect
6. Enter password in web window
in logs (see attached) it says that it is using password based authentication
used OAuth2 authentication
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version:
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4
Same problem with Akonadi EWS version 5.13.3(19.12.3)
Same issue here
KDE Plasma version: 5.19.3
KDE Frameworks version: 5.72.0
Qt version: 5.15.0
Sorry about last comment, pressed Save Changes by accident
Kernel version: 5.7.8-arch1-1
KDE PIM version: 20.04.3
What OAuth2 support is that? All I could find was specific google oauth support. I think generic OAuth2 is basically missing.
(In reply to Allan Sandfeld from comment #4)
> What OAuth2 support is that? All I could find was specific google oauth
> support. I think generic OAuth2 is basically missing.
This is in the Exchange Web Service component. I wasn't able to find it in KMail, and ended-up going through akonadiconsole for it, but there might be a more normal way to it.
I wish generic (IMAP) OAuth2 worked; I miss being able to have messages downloaded locally for offline...
Yeah. I looked into it. We basically have two different OAuth2 hacks, one for gmail and one for ews. There is code for in the IMAP and SMTP code but it is all tied up in the GMail specific hack.
Then again OAUTH2 is mostly a scam to collect more data on you, which is why they require your already tracked browser to log in. So it is no wonder it isn't properly standardized.