Hi, as my university microsoft mail transfered to OAUTH2 without option to fallback, I modified my client config.
I enclose a pull request to support OAUTH2 mail solutions which should work with Microsoft and Google.
An example on how to create the token file is in manpage and requires ClientID and ClientSecret app registration.
My university does not support custom app registration so I used Mozilla Thunderbird's credentials ones here. Code to generate the token with microsoft:
$ /usr/share/neomutt/oauth2/mutt_oauth2.py -v -t \
--authorize --client-id "9e5f94bc-e8a4-4e73-b8be-63364c29d753" --client-secret "" \
--email "<your email>" --provider microsoft \
--encryption-pipe "gpg --encrypt --recipient <your_gpg_key>" \
token_path
Hi, as my university microsoft mail transfered to OAUTH2 without option to fallback, I modified my client config.
I enclose a pull request to support OAUTH2 mail solutions which should work with Microsoft and Google.
An example on how to create the token file is in manpage and requires
ClientIDandClientSecretapp registration.My university does not support custom app registration so I used Mozilla Thunderbird's credentials ones here. Code to generate the token with microsoft:
$ /usr/share/neomutt/oauth2/mutt_oauth2.py -v -t \ --authorize --client-id "9e5f94bc-e8a4-4e73-b8be-63364c29d753" --client-secret "" \ --email "<your email>" --provider microsoft \ --encryption-pipe "gpg --encrypt --recipient <your_gpg_key>" \ token_path