Bug 2134519

Summary: [RFE] Add cyrus-sasl-xoauth2 as a package
Product: Red Hat Enterprise Linux 9 Reporter: Juan Manuel Santos <jsantos>
Component: cyrus-saslAssignee: Jakub Jelen <jjelen>
Status: NEW --- QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: high    
Version: 9.2CC: anon.amish, cllang, crypto-team, extras-qa, jjelen, rmetrich, ssorce, vanmeeuwen+fedora
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2134516 Environment:
Last Closed: Type: Story
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2134516, 2208250    
Bug Blocks:    

Description Juan Manuel Santos 2022-10-13 14:16:12 UTC
+++ This bug was initially created as a clone of Bug #2134516 +++

Description of problem:

Microsoft has announced that Office365 will deprecate basic authentication in favor of OAUTH:

https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online

This makes it impossible in its current state for users to use Office365 as an email relay, as cyrus-sasl has no method of supporting OAUTH2 authentication mechanism.

There is a third-party plugin that does though but it's not currently packaged in Fedora: https://github.com/moriyoshi/cyrus-sasl-xoauth2

Comment 2 Jakub Jelen 2022-10-25 15:06:12 UTC
Taking to myself as the bug #2134516 has the proposed test packages waiting for customer to test.

Comment 12 Jakub Jelen 2023-08-15 09:23:32 UTC
The package is now in Fedora rawhide and EPEL9:

https://src.fedoraproject.org/rpms/sasl-xoauth2

I am working on getting the new dependency, python-msal built on EPEL8 so this can be brought also to EPEL8:

https://src.fedoraproject.org/rpms/python-msal
https://bugzilla.redhat.com/show_bug.cgi?id=2229737