Re: KeyError: 'refresh_token' error in fetchmail-oauth2

Marco Gaiarin <[email protected]> Wed, 27 Apr 2022 23:25:59 +0200
Newsgroups gmane.mail.fetchmail.user
Organization Il gaio usa sempre TIN per le liste, fallo anche tu!!!
Message-ID <[email protected]>
Mandi! J.Edner
  In chel di` si favelave...

>   Google verifies projects configured for a user type of External and
>   a publishing status of In production if they meet one or more of the
>   OAuth verification criteria:
[...]
>   * Your project's OAuth clients request authorization of any sensitive
>     or restricted scopes.

fetchmail OAUTH2 README suggest:

 + I think that the scope ".../auth/gmail.modify" to "View and modify but not delete your email" is sufficient.

and '.../auth/gmail.modify' scope is a restricted ones; so seem to me
required to 'register' the app...


But... you *have* registered the app? Your doc suggest you have not, but
seems to me clear that auth done with a non-registered app last max a
week...

-- 
  La virulenza delle polemiche su un argomento รจ inversamente
  proporzionale alla reale importanza dell'argomento stesso.
						(Legge di Potter)