git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Felipe ContrerasNext: Felipe Contreras
Message 30 of 31 in “Gmail OAuth2 in git send-email”
  1. Bagas SanjayaJun 3, 2021
  2. ZheNing HuJun 3, 2021
  3. Jonathan NiederJun 3, 2021
  4. Eric SunshineJun 3, 2021
  5. Ævar Arnfjörð BjarmasonJun 3, 2021
  6. Felipe ContrerasJun 3, 2021
  7. Andreas SchwabJun 3, 2021
  8. Felipe ContrerasJun 3, 2021
  9. Jonathan NiederJun 4, 2021
  10. Jonathan NiederJun 4, 2021
  11. Felipe ContrerasJun 4, 2021
  12. Konstantin RyabitsevJun 3, 2021
  13. Eric SunshineJun 3, 2021
  14. Konstantin RyabitsevJun 3, 2021
  15. Michal SuchánekJun 3, 2021
  16. Konstantin RyabitsevJun 3, 2021
  17. Michal SuchánekJun 3, 2021
  18. Eric SunshineJun 3, 2021
  19. Felipe ContrerasJun 3, 2021
  20. Eric SunshineJun 3, 2021
  21. Felipe ContrerasJun 4, 2021
  22. Đoàn Trần Công DanhJun 4, 2021
  23. Felipe ContrerasJun 4, 2021
  24. Đoàn Trần Công DanhJun 4, 2021
  25. Felipe ContrerasJun 4, 2021
  26. Đoàn Trần Công DanhJun 4, 2021
  27. Felipe ContrerasJun 4, 2021
  28. Đoàn Trần Công DanhJun 4, 2021
  29. Felipe ContrerasJun 4, 2021
  30. Eric SunshineJun 4, 2021
  31. Felipe ContrerasJun 4, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.