How can we use offlineimap to sync our corporate email account that sits on outlook.office365.com, when its authentication asks for a two-factor authentication (2FA) that is a Symantec VIP Access one?
I guess we could open a valid session by authenticating in firefox, and then offlineimap could use the token that is stored in firefox cookie. Does it make sense? I guess this would need some upgrading in offlineimap, and we could re-do something from another python project that makes use of session tokens from firefox cookies. Do you remember any?
Does these code snippets help?
https://stackoverflow.com/questions/49502254/how-to-import-firefox-cookies-to-python-requests
https://gist.github.com/denis-bz/88611952815b56b5b8b5
Thank you very much in advance for contributions on this challenge.
Kind regards,
Bruno Schroeder