On Fri, Jun 05, 2020 at 11:09:33AM -0700, Kevin J. McCarthy wrote:
See also the <69f8180c-40de-b7b5-880b-0f0e9f998...@scss.tcd.ie> thread. My current plan is to wait a couple more months to see if MS gets on board with OAUTHBEARER. If not, I'll add the authentication mechanism for Mutt 1.15. It will still require an external token script though.

I made a commit to master adding this yesterday. I did some testing on Gmail, but haven't gotten around to testing Microsoft platforms yet. I could definitely use some help there.

To enable, "xoauth2" must be explicitly added to the authenticators variable, (e.g. $imap_authenticators). Just as with OAUTHBEARER, you'll also need to point the refresh command ($imap_oauth_refresh_command) at a script to generate the resource access token. It uses the same config variables. If needed those can be swapped out via account-hooks.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to