GoogleCredentialProvider
Since this morning I get the following error : GoogleCredentialProvider: Get user to go to:null and enter code:null
Anyone else ?
me too , Looking for a solution
The same error, suppose received json was incorrect. I logged some code and got this
"error" : "invalid_client" I think the mistake is in the updated client_id in GoogleLogin class
I have the same error Get user to go to:null and enter code:null
I try create my own google CLIENT_ID and put on the code, and it seems everything working fine..
so I guess, the main problem is on the CLIENT_ID
ok i trying
do not change the client id, its a static value that needs to be used so the app can authenticate. You may be able to get pass the auth stage but it should not work in game.
that's right, when I try to go in the game, they kicked me out. lol
yes i understand it, i receive response with code 401 Unauthorized and all data of authjson is null
I have tried another login method:
go = new PokemonGo(new PtcCredentialProvider(httpClient,"[email protected]","pass"),httpClient);
Then I've received Error LoginFailedException **Failed to fetch token**
Any other variants to get authorized?
Ptc is for pokemon trainer account logins and not gmail accounts.
GoogleAuthCredentialProvider is now implemented and tested (uses gpsoauth which pretends to act like a phone using googe player services instead of direct oauth flows) #265
While GoogleAutoCredentialProvider is great I guess some users would prefer to stick to the previous token based solution. Is that still taken into consideration?
[EDIT] Btw. great job, providing the fix in such a timely fashion. Thanks!
Unfortunately this will also fail when 2-step verification is enabled on the Google Account.
I will like to be able to use the two-step authentication... 😢
Not much we can do about it right now sorry
Ok, thanks...
From what i understood, Niantic disabled access via token that we used, i dont think there is other way to login, but we will search for them. But today, you should use the PTC login or Google via Play Services.
#316 adds a new oauth with user interaction
No need to disable 2 step authentication. Create an app password for your gmail account and enter that without spaces. I just logged in using that method instead of my regular password and it works.
i receive Response{protocol=h2, code=403, message=, url=https://android.clients.google.com/auth}