xoauth2 not working as expected
Hi, I'm trying to get the xoauth2 option to work with goimapnotify. It seems that goimapnotify is using OAUTHBEARER, but not all providers support this. See e.g. this thread: http://lists.mutt.org/pipermail/mutt-dev/Week-of-Mon-20190401/000291.html
My xoauth2 config is working correctly with isync.
See the goimapnotify output for the error message I get when using the xoauth2 option:
imapnotify % goimapnotify -conf ~/.config/imapnotify/mymail.conf -debug
2021/06/16 17:34:45 [DBG] Command: sh -c oauth2get microsoft myname@mycompany.com
OwhmGA AUTHENTICATE OAUTHBEARER
OwhmGA NO AUTHENTICATE failed. Provided authentication mechanism is not supported.
FATA[0000] something went wrong creating IDLE client: AUTHENTICATE failed. Provided authentication mechanism is not supported.
Would you be willing to also support XOAUTH2? Thnx!