1
Vote

Gmail IMAP XOAuth false failure

description

It looks like the library is only processing the first line of the response from the AUTHENTICATE command, which is
 
"* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE" (for me at least)
 
and the API indicates a failure to log in. If you read an additional line from the stream, it will (assuming success) say something like
 
"a01 OK username@gmail.com <First> <Last> authenticated (Success)".

comments

Krasshirsch wrote Jan 13, 2012 at 2:11 PM

Accepted as issue.

wrote Jan 13, 2012 at 2:11 PM

AASoft wrote Jun 1, 2012 at 7:27 AM

See my patch #12314. As I mention in the description, it might not be the best way around it, but it does work.

wrote Feb 14, 2013 at 6:36 PM