Re: the great Gmail ERR [AUTH] therad

"Neil R. Ormos" <[email protected]> Fri, 3 Jun 2022 10:35:28 -0500 (CDT)
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Neil R. Ormos wrote:
> Charles Cazabon wrote:
>> Neil R. Ormos wrote:
>>> Charles Cazabon wrote:

>>>> OAUTH with Gmail isn't trivially simple, and
>>>> since I don't have a Google account it's
>>>> difficult for me to test.  Others have posted
>>>> instructions to the list in the past, so
>>>> looking in the archives is probably a good
>>>> step.

>>> When I looked last week, I saw mention of some
>>> patches, but I did not see the principal thread
>>> where the necessary configuration was
>>> explained.  Whatever archive I was looking at
>>> seemed exceptionally counterintuitive to
>>> navigate. [...]

>>> [reordered] I would be grateful if you would
>>> kindly mention a date or the subject for the
>>> thread.

>> The most recent thread was this one:

>> https://marc.info/?l=getmail&m=165171175431842&w=2

> Thank you that link.  I had read that thread
> offering a patch to getmail-gmail-xoauth-tokens,
> but it does not explain how to set up the
> configuration file.

To clarify, I have read the instructions provided by Stefan Krah at <https://www.bytereef.org/howto/oauth2/getmail.html>, which does address the configuration files, but...

> Also, I was unsure how to interpret the part
> about the additional patch that would be needed
> "after February" to start an http server on
> localhost to receive a code via a redirect URI.

> From the thread, it looks like the script is
> unusable until that additional change is made,
> but I'm not sure if my interpretation is correct
> or a pessimistic overshoot.  If the tokens
> script is known to be not working for now, then
> it would help users to know that so that they
> aren't spinning their wheels trying to use
> Getmail with XOAUTH2 to access Gmail.

... the "redirect_uri" that Mr. Krah instructs be placed in the gmail.json file appears to use the Out-of-Band mechanism that the Tokens Script Patch thread suggests no longer works.  Have I misunderstood something?