-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XOAUTH2 Authentication Failed but not required! #442
Comments
Checking if we have to run this authentication method once it's already passed to imaplib2 is too late. Make the checks at correct time, before we try the authentication method. IOW, before we call imapobj.authenticate('XOAUTH2', self.__xoauth2handler) Github-ref: OfflineIMAP#442 Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Does the above patch/version fix your issue? |
It's possible to install offlineimap as a user: remove the currently installed offlineimap and download the zip (or |
Thanks! You actually guessed the problem I was facing ...
not being able to understand how to use the git repository! ;)
Excerpts from Nicolas Sebrecht's message of 2017-03-21 13:44:33 -0700:
… It's possible to install offlineimap as a user: remove the currently installed offlineimap and download the zip (or `git clone` the repository). Then `./offlineimap.py [options]`.
--
________________
Tommaso Patrizi
Thinking Code
Email: tommasop@thinkingco.de
Skype: tommasop
Twitter: @tommasomatic
IN OBSCURO MIRANDA RELUCENT
|
,-) I'm pretty sure you've noticed the correct version to check is this one. I'd say that downloading the zip is better to be sure the version is correct. Otherwise, git users have to make sure they've "checkout" the correct branch. |
Gentle up! |
I had the same problem and the patch applied on top of version 7.1.0 seems to fix it (I didn't have any XOAUTH2-errors since then). |
Thank you much @klemens ! Patch applied. :-) |
Checking if we have to run this authentication method once it's already passed to imaplib2 is too late. Make the checks at correct time, before we try the authentication method. IOW, before we call imapobj.authenticate('XOAUTH2', self.__xoauth2handler) Github-ref: #442 Tested-by: Klemens Schölhorn <klemens@schoelhorn.eu> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
General informations
offlineimap -V
): offlineimap v7.0.14, imaplib2 v2.57 (bundled), Python v2.7.11Configuration file offlineimaprc
pythonfile (if any)
Logs, error
Steps to reproduce the error
The text was updated successfully, but these errors were encountered: