oauth2 with GMail?

Tavis Ormandy taviso at gmail.com
Sun Sep 26 15:56:40 UTC 2021


On 2021-09-26, Grant Edwards wrote:
> I'm trying to figure out how to use oauth2 for SMTP/IMAP (mostly SMTP)
> with Gmail by following the instructions at
>
>    https://luxing.im/mutt-integration-with-gmail-using-oauth/
>
> 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?

If you don't have a domain, then you can do it the easy peasy way, just
generate an application specific password:

- Go to https://myaccount.google.com/security
- Click "App passwords"
- Select Device/Purpose, then "Generate"

Tavis.

-- 
 _o)            $ lynx lock.cmpxchg8b.com
 /\\  _o)  _o)  $ finger taviso at sdf.org
_\_V _( ) _( )  @taviso



More information about the Mutt-users mailing list