Hi,
Yes, I run isync + o365 + oauth2. I use oauth2ms -
https://github.com/harishkrupo/oauth2ms
The isync config changes are only replacing PassCmd with a call to
oauth2ms. I don't use the --encode-xoauth2 option and it works well.
I can go into more detail later if you need.
Jeremy
On 9 September 2021 19:10:07 Marton Balazs <balm...@gmail.com> wrote:
Hi,
Happy isync user here (until now...), thanks so much for isync.
Unfortunately we are on O365 at work, and unfortunately Workplace will be
forcing Oauth2 on us soon, so I'm trying to get isync via IMAP/SMTP to work
with Oauth2 in O365. Has anyone succeeded that?
With my limited understanding I've tried various scripts that people linked
on forums, and pretended I'm a Thunderbird as well as used the id's
Workplace provided. I'm failing with each option. The machine runs Arch,
updated regularly.
oauth2token fails with some Python pickle error when trying to get token.
https://pypi.org/project/oauth2token/
https://wiki.archlinux.org/title/isync#Using_XOAUTH2
M365-IMAP can go through with Thunderbird's id's but fails to authenticate
in IMAP. It cannot get token with Workplace credentials, AADSTS9002313:
Invalid request. Request is malformed or invalid
https://github.com/UvA-FNWI/M365-IMAP
mutt_oauth2
fails with Thunderbird id's with AADSTS50011: The reply URL specified in
the request does not match the reply URLs configured for the application
and fails with Workplace id's with AADSTS9002313: Invalid request. Request
is malformed or invalid.
https://gitlab.com/muttmua/mutt/-/blob/master/contrib/mutt_oauth2.py
I'm attaching an org file with details. Any ideas would be appreciated.
Many thanks,
Marton
----------
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel