[Users] [Bug 4590] New: Exchange requires two line AUTH XOAUTH2

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Apr 19 03:09:09 UTC 2022


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4590

            Bug ID: 4590
           Summary: Exchange requires two line AUTH XOAUTH2
           Product: Claws Mail
           Version: GIT
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: POP3
          Assignee: users at lists.claws-mail.org
          Reporter: thewildbeast at mstoeckl.com

Created attachment 2283
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2283&action=edit
Patch to split AUTH XOAUTH over two lines

I recently needed to use Microsoft Exchange, and followed the very helpful
instructions at https://www.claws-mail.org/faq/index.php/Oauth2 . To get POP to
work with their servers, in a addition to patching bug 4587, I needed to adjust
the authentication command; as noted by
https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth
, the base64 encoded string following AUTH XOAUTH2 needs to be put on a
separate line.

I've attached the patch that I use here in case anyone else has the same
problem. Note: it will break with servers that want single line AUTH XOAUTH2
requests.

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


More information about the Users mailing list