Re: Gmail OAuth2 in git send-email
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jun 4, 2021, 04:10 UTC
- Message-ID
- <CAPig+cSXbCTymdrUOZwFBeUNMWuhnGb91Ar9Jth2cHCG2xav+g@mail.gmail.com>
- In-Reply-To
- <60b97dd1acd9d_3a18272087b@natae.notmuch>
On Thu, Jun 3, 2021 at 9:11 PM Felipe Contreras <felipe.contreras@gmail.com> wrote:
> Eric Sunshine wrote: > > Google requires 2fa to be enabled in order to create app passwords, > > That doesn't make sense.
What doesn't make sense? My statement? Or Google's requirements?
> It's like complaining that you need to lose a limb in order to use > prostetics... > App passwords are a suboptimal solution in case you cannot use 2fa for a > certain application.
Nevertheless, that's what Google requires.
> If you cannot use 2fa for any application, then don't enable 2fa, and > then you don't need an app password. Just use your regular password.
Google has been clamping down on "regular password" use for third-party applications/sign-ins for several years now and they heavily discourage it. It is still possible to do it, though, by enabling "Less secure apps" explicitly[1]. However, when "Less secure apps" is enabled, they regularly send messages "strongly suggesting" turning it off. I won't be surprised if the "Less secure apps" option disappears at some point.
Show 6 quoted lines
> > Thanks, that's an interesting bit of information, though if a person > > can't enable 2fa in the first place, then... (intentionally left > > blank) > > All you need to enable 2fa is demonstrate that you can *use* 2fa... So > you need an OTP client.
I'd be happy to see concrete instructions explaining how to accomplish all of this since each time I attempted it, Google's instructions led me in endless circles, with each cycle always asking for (er, requiring) my non-existent phone number.
[1]: https://support.google.com/accounts/answer/6010255/less-secure-apps-amp-your-google-account