Grant, You have to create an "application specific password" in this case, ignore everything about "domains" as it doesn't apply.
Also once you've created your "application specific password" you can use it for gmail on all your computers even those using different Operating Systems. Best wishes, David On Sun, Sep 26, 2021 at 1:39 PM Grant Edwards <grant.b.edwa...@gmail.com> wrote: > On 2021-09-26, Tavis Ormandy <tav...@gmail.com> wrote: > > On 2021-09-26, Grant Edwards wrote: > >> I'm trying to figure out how to use oauth2 for SMTP/IMAP (mostly SMTP) > >> with Gmail [...] > >> > >> But, I get stuck when I get to the rather vague part of the > >> instructions that say to go to > https://console.cloud.google.com/apis/credentials, > >> create a project and download credentials. > >> > >> Google seems to require I that pre-register my project's domain (which > >> I don't have) in order to generate credentials. Am I doing something > >> wrong? > > > > Hmm - but the reason you want to do this is because you have a domain > > where application specific passwords are disabled for policy reasons? > > No, I don't have any domain at all. There is no "project", and I'm not > actually creating an application -- but have to pretend that you are > in order to use OAUTH2 with GMail. > > > If you don't have a domain, then you can do it the easy peasy way, > > just generate an application specific password: > > That requires 2FA be enabled on the GMail account -- which is probably > what I should do instead of wrestling with OAUTH2. > > -- > Grant > > > >