[Users] OAuth2 refresh token not obtained
wishful99 at btinternet.com
wishful99 at btinternet.com
Tue May 17 08:13:41 CEST 2022
On Mon, 16 May 2022 05:52:15 -0700.
Geoffrey Leach <geoffleach.gl at gmail.com> wrote:
> On Mon, 16 May 2022 06:34:44 +0100
> Wishful Thinking via Users <users at lists.claws-mail.org> wrote:
>
> > On Sun, 15 May 2022 21:13:25 -0700.
> > Geoffrey Leach <geoffleach.gl at gmail.com> wrote:
> >
> > > As it happens, today was my 7-day re-authorize, and the same problem
> > > occurred. Rather than just re-authorize, I created a new claws-mail
> > > client Id. Authorization was successful.
> > >
> > > In answer to your other question, I'm as sure as I can be that
> > > nothing germane was changed either on either system or on the API
> > > pages
> > >
> > > oauth2.c:349:OAuth2 - request: POST /o/oauth2/token HTTP/1.1
> > > Content-Type: application/x-www-form-urlencoded
> > > Accept: text/html,application/json
> > > Content-Length: 281
> > > Host: accounts.google.com
> > > Connection: close
> > > User-Agent: ClawsMail
> > >
> > >
> > > 1.1 400 Bad Request
> >
> > Geoffrey,
> >
> > Looking at the "POST" request in the above, it occurred to me to
> > wonder if there is an issue when you're aiming to send email.
> >
> > For the "OAuth consent screen" online, can we verify that you have
> > selected "Read, compose, send and permanently delete all your email
> > from Gmail" under "Scopes"?
> >
> > Kind Regards,
> > Rosemary Lockie
>
> I can confirm that that scope was selected.
Geoffrey,
Ok, thanks for that.
In the assumption you're using POP3 rather than IMAP, one last thought, for the sending
and receiving tabs:
For "Receive" do you also have the box ticked to "Authenticate before POP connection"?
And for "Send", do you have the box ticked to "Authenticate with POP before sending"?
Kind Regards,
Rosemary Lockie
More information about the Users
mailing list