tejado / pgoapi

Pokemon Go API lib
Other
1.4k stars 445 forks source link

Add Google Auth #17

Closed elliottcarlson closed 8 years ago

elliottcarlson commented 8 years ago

Adds in Google Auth demo and provides a switch to login between the two

dakk commented 8 years ago

Yea, I see

Simon0x commented 8 years ago

Tested this solution. For me it work.

tejado commented 8 years ago

Thanks a lot!

3mph4515 commented 8 years ago

@elliottcarlson Any chances to add 2FA via google? :)

elliottcarlson commented 8 years ago

I'll take a look at it this weekend; something I need as well for my main account.

elliottcarlson commented 8 years ago

@3mph4515 So, the cleanest way to authenticate an app that has TFA enabled, is to create app specific password at https://security.google.com/settings/security/apppasswords - more on this at https://support.google.com/accounts/answer/185833. This is obviously only OK in a situation when the system storing the application-specific password is one you trust.