question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR when using gmail: No supported authentication method(s) available. Unable to login.

See original GitHub issue

Hello, I’d love to use this lib for a project of mine but trying to login on gmail gives me the error:

No supported authentication method(s) available. Unable to login.

this is what I got setting debug: consolle.log

[connection] Connected to host.

<== '* OK Gimap ready for requests from 88.149.244.216 y12if7480450eeu.31\r\n'

[parsing incoming] saw untagged OK

==> A1 CAPABILITY


<== '* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH AUTH=XOAUTH2\r\nA1 OK Thats all she wrote! y12if7480450eeu.31\r\n'

[parsing incoming] saw untagged CAPABILITY

<== 'A1 OK Thats all she wrote! y12if7480450eeu.31\r\n'

[parsing incoming] saw tagged response
Uh oh: Error: No supported authentication method(s) available. Unable to login.

I’m not really familiar with the IMAP protocol so I’m not really sure what’s going on here. Any suggestion?

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
thE-iNviNciblEcommented, Jan 9, 2018

yes with “user” instead of “username” it works…

https://support.google.com/mail/accounts/answer/78754

0reactions
mscdexcommented, Aug 14, 2013

@Neamar Right. For future reference, there is a wiki page that details the breaking changes here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: No supported authentication methods found
If you experience an error message like "No supported authentication methods" found while you are adding a new mail account please check if ......
Read more >
Fix error no supported authentication methods available
This error indicates that our SSH client (mostly PuTTY) has probably run out of ways and can't authenticate us to an SSH server....
Read more >
SSH can't log in. no supported authentication methods available.
Log on to the Configuration utility. · Go to System > Users >User List select admin. · Set Terminal Access to Advanced Shell....
Read more >
In monit setup got an error -> Sendmail: Authentication failed
Use this: set mailserver smtp.gmail.com port 587 username "xy@z.com" password "whatever" using tlsv1. Note: You need to enable the IMAP ...
Read more >
Error No supported authentication methods available on AWS
Your problem can be related to incorrect login which varies depending on AMIs. Use following logins on following AMIs: ubuntu or root on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found