[Users] Gmail OAuth2 Authorization Errors (ToCM)

Dustin Miller dustbiz at gmail.com
Wed Apr 13 07:28:25 UTC 2022


On Tue, 12 Apr 2022 16:31:58 -0700
Geoffrey Leach <geoff at hughes.net> wrote:

> Another bump in the road. Network log below.
> 
> Username is that that was used during the registration process.
> 
> Password verified. I assume that '@gmail.com' is not part of the
> password.
> 
> Username and password were used to log in to the gmail account, off of
> the error diagnostic page from google.
> 
> The credentials were copied from the google pages using their 'copy to
> clipboard' links. They looked correct, but I will confess that I did
> not do a byte-by-byte comparison.
> 
> Suggestions as to how to resolve the problem?
> 
DM: Hi, Geoffrey. Am I understanding right that you are trying to use
your Gmail login password in one or more of the password fields in the
Claws Mail settings? Note that if you are using OAuth2, then you should
not manually enter anything in these password fields, since the OAuth2
setup / authorization process will populate these for you. So try just
leaving them empty, then go through the OAuth2 setup process, and then
go back and check them to make sure they've been auto-populated. If
they have, then I think things should work as expected for you. HTH,
---Dustin
> 
> Thanks.
> 
> * OAuth2 trying for fresh access token with auth code
> * OAuth2 access token not obtained
> * OAuth2 refresh token not obtained
> * OAuth2 access token not obtained
> * Account 'gmail': Connecting to SMTP server: smtp.gmail.com:465...
> [2022-04-12 14:45:15] SMTP< 220 smtp.gmail.com ESMTP
> a21-20020aa780d5000000b005059fdae5 [2022-04-12 14:45:15] ESMTP> EHLO
> webster [2022-04-12 14:45:15] ESMTP< 250-smtp.gmail.com at your
> service, [98.97.35.136] [2022-04-12 14:45:15] ESMTP< 250-SIZE 35882577
> [2022-04-12 14:45:15] ESMTP< 250-8BITMIME
> [2022-04-12 14:45:15] ESMTP< 250-AUTH LOGIN PLAIN XOAUTH2
> PLAIN-CLIENTTOKEN OAUTHBEARER [2022-04-12 14:45:15] ESMTP<
> 250-ENHANCEDSTATUSCODES [2022-04-12 14:45:15] ESMTP< 250-PIPELINING
> [2022-04-12 14:45:15] ESMTP< 250-CHUNKING
> [2022-04-12 14:45:15] ESMTP< 250 SMTPUTF8
> [2022-04-12 14:45:15] ESMTP> [AUTH XOAUTH2]
> [2022-04-12 14:45:15] ESMTP< 334
> eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcG [2022-04-12
> 14:45:15] ESMTP> MAIL FROM:<SUSLEA491 at GMAIL.COM> SIZE=334 [2022-04-12
> 14:45:15] SMTP< 535-5.7.8 Username and Password not accepted. Learn
> more at [2022-04-12 14:45:15] SMTP< 535 5.7.8
> https://support.google.com/mail/?p=BadCredential ** error occurred on
> authentication *** Authentication failed:
> _______________________________________________ Users mailing list
> Users at lists.claws-mail.org
> https://lists.claws-mail.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list