gmail icon indicating copy to clipboard operation
gmail copied to clipboard

Support for 2 step authentication

Open charmoniumQ opened this issue 11 years ago • 1 comments

Some people turn on 2-step authentication. It doesn't look like this library supports that, although I may be missing something. This post or this one may be of use.

charmoniumQ avatar Aug 10 '13 00:08 charmoniumQ

You have two options: 1) use an application-specific password; 2) use OAuth2 authentication tokens. The first option is straightforward - you can obtain a new application-specific password from your account settings. Have a look at https://github.com/mpenkov/supersaas2google/blob/master/sync.py for an example of the second option.

In either case, it gets handled outside the gmail library.

mpenkov avatar Sep 23 '13 23:09 mpenkov