Authentication with OAuth2 to Office365 fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evolution-ews (Debian) |
Fix Released
|
Unknown
|
|||
evolution-ews (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The OAuth2 module of evolution-ews sends an optional "scope" parameter
in its HTTP request that causes Office365 AD to reject the authentication request with an error like:
error:
Consent between first party applications and resources must be
configured via preauthorization.
The "scope" parameter is listed as ignored on the upstream
documentation, and it has been confirmed by multiple users that
removing it from the request does not cause any issue, and fixes this
problem.
A very simple fix has been merged in the upstream branch and has also
been backported to the 3.32 branch:
https:/
This is fixed in Disco and Eoan, but on 18.04 LTS it doesn't work as it's an older version. It would be great if the patch could be backported to 18.04 via bionic-updates - it's really trivial:
@@ -253,7 +238,6 @@ eos_office365_
- e_oauth2_
}
@@ -321,7 +305,6 @@ eos_office365_
{
- e_oauth2_
}
Changed in evolution-ews (Debian): | |
status: | Unknown → Fix Released |
Changed in evolution-ews (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.