-
Notifications
You must be signed in to change notification settings - Fork 326
Description
Description:
when using google login/pass connection, if he account has 2 factor auth (OTP bt SMS), we get a LoginFailedException
Steps to reproduce:
- Use an account with security active
- Try to connect
Expected behavior:
Login and continue
Actual behavior:
Login Failed
Stacktrace (If it's a crash):
Exception in thread "main" com.pokegoapi.exceptions.LoginFailedException: svarzee.gps.gpsoauth.Gpsoauth$TokenRequestFailed
at com.pokegoapi.auth.GoogleAutoCredentialProvider.login(GoogleAutoCredentialProvider.java:74)
at com.pokegoapi.auth.GoogleAutoCredentialProvider.(GoogleAutoCredentialProvider.java:60)
at com.herazade.pogo.ListingTest.main(ListingTest.java:47)
Caused by: svarzee.gps.gpsoauth.Gpsoauth$TokenRequestFailed
at svarzee.gps.gpsoauth.Gpsoauth.performMasterLoginForToken(Gpsoauth.java:105)
at svarzee.gps.gpsoauth.Gpsoauth.performMasterLoginForToken(Gpsoauth.java:88)
at com.pokegoapi.auth.GoogleAutoCredentialProvider.login(GoogleAutoCredentialProvider.java:67)
... 2 more
Version:
[The version of the lib you used]