[Akonadi] [Bug 442180] New: Unable to define Custom Oauth2 Settings
Jonas Andradas
bugzilla_noreply at kde.org
Wed Sep 8 16:00:58 BST 2021
https://bugs.kde.org/show_bug.cgi?id=442180
Bug ID: 442180
Summary: Unable to define Custom Oauth2 Settings
Product: Akonadi
Version: unspecified
Platform: Debian unstable
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: EWS Resource
Assignee: kdepim-bugs at kde.org
Reporter: j.andradas at gmail.com
CC: krissn at op.pl
Target Milestone: ---
In order for the EWS in my organization to work properly from Linux a set of
custom Oauth2 settings need to be defined/overriden from the defaults. It was
possible to have this working from Evolution (using evolution-ews) when the
following settings were defined to specific values:
* OAB URL: in the form of https://outlook.office365.com/OAB/<UUID
here>/oab.xml
* Tenant
* Application ID (for example using Outlook's
"d3590ed6-52b3-4102-aeff-aad2292ab01c"
* Redirect URI: urn:ietf:wg:oauth:2.0:oob
I do not see a way to setup these settings from KMail UI, but have read that I
could modify the settings in ~/.config/akonadi_ews_resource_Xrc (X being 0 or
above, depending on the configuration). I have modified this settings, adding
an `Oauth2AppId` option, based on Chriss' blog entry [1], and tried to guess
the names for the other settings, but to no avail. An example of how my
configuration file is can be found below:
```
AuthMode=oauth2
AutoDiscovery=false
BaseUrl=https://outlook.office365.com/EWS/Exchange.asmx
OABUrl=https://outlook.office365.com/OAB/<REDACTED_UUID>/oab.xml
OAuth2AppId=d3590ed6-52b3-4102-aeff-aad2292ab01c
Oauth2Tenant=<REDACTED-TENANT>
Oauth2RedirectUri=urn:ietf:wg:oauth:2.0:oob
```
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 11 (sid)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.85
Qt Version: 5.15.2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list