On 2022-06-29, Walter Dnes <[email protected]> wrote:
> On Mon, Jun 13, 2022 at 02:47:16PM +0000, spareproject776 wrote
>>
>> They flushed all the app password creds and forced 2fa.
>> Need to go through the accounts.google.com login to recover.
>
> Sorry for the delay responding. I can login fine with my password on
> accounts.google.com but it does not work on pop.gmail.com.
Google disabled the use of normal passwords for IMAP and POP
authentication a year or so back.
[These days I say "a year or so back" that could be anything from 5
months to about 5 years. I think "a couple years ago" now averages at
about 7. "Five or six years ago" reaches back to the end of the
Clinton adminstration.]
> What exactly do I have to do to get it working again?
AFAIK, you've got two choices.
1. Use an "app password"
https://support.google.com/accounts/answer/185833
https://www.lifewire.com/get-a-password-to-access-gmail-by-pop-imap-2-1171882
2. Use OAUTH 2.0
https://developers.google.com/gmail/imap/xoauth2-protocol
https://oauth.net/2/
AIUI, the latter is considered more secure. But, a lot of applications
don't support OAUTH 2.0 (or if they do, it's via a complex
plugin/helper scheme). For mutt I looked into OAUTH, and it can be
done with some external helper applications. Creating an app password
for mutt to use with IMAP was much easier.
--
Grant