[Akonadi] [Bug 464534] Need to be able to override app name and app id

Krzysztof Nowicki bugzilla_noreply at kde.org
Fri Jan 20 13:08:05 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=464534

--- Comment #1 from Krzysztof Nowicki <krissn at op.pl> ---
This is already supported, although as advanced functionality and not visible
from the user interface.

There is possibility to supply a custom OAuth2 Application Identifier (GUID) +
Redirect URL. This pair is what identifies the application when performing
OAuth2 authentication with the server.

The settings can be changed in the resource configuration file, which is
located in ${HOME}/.config/akonadi_ews_resource_<x>rc, where <x> is the
consecutive number of the resource - usually 0.

Inside, in the [General] section you can add the two parameters as
configuration options:
OAuth2AppId=452b289a-7894-41d7-9cd4-d5275739fa27
OAuth2ReturnUri=urn:ietf:wg:oauth:2.0:oob

The above are the defaults which correspond to the Akonadi EWS resource app
registered in Azure.

In your case it will be most useful to disguise as Outlook. I don't remember
the Outlook's application ID, but it should be easy to find. The return URI in
this case will most probably stay at its default value.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list