PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

How to use automatic login?

Open jacc opened this issue 10 years ago • 10 comments

Can't seem to get it working without using google.com/device

jacc avatar Jul 22 '16 13:07 jacc

I was wondering this as well... not to mention, I have no clue what token I'm supposed to get and where. There's no details.

RaeneDev avatar Jul 22 '16 13:07 RaeneDev

Yeah. I tried with the google.com/device token, a OAuth 2.0 client key, nothing seemed to work. It also says "saving in config" but it doesn't save anything.

jacc avatar Jul 22 '16 13:07 jacc

Only thing I can think of would unless I'm doing something incorrectly be possibly a feature from the settings for club accounts or something.

RaeneDev avatar Jul 22 '16 13:07 RaeneDev

I hope they add an automatic Google login, I don't wanna reset D:

jacc avatar Jul 22 '16 13:07 jacc

Same not to mention after around 30 or so minutes it begins tossing errors like it was disconnected. Auto login would be much more simple than this auto hotkey script I made lol.

RaeneDev avatar Jul 22 '16 13:07 RaeneDev

Yeah. Seems like I'm not catching any Pokemon either...

jacc avatar Jul 22 '16 13:07 jacc

After a first login, copy the token from the command prompt and paste on your config file, under token. Works for me

PancakeZik avatar Jul 22 '16 13:07 PancakeZik

It also says "saving in config" but it doesn't save anything.

It should never say that. It gives you a token and says "Set this token in your config to log in directly"

This has only be tested with PTC accounts (which got you kicked out after ~20 minutes before and now since this version my bot is running for 3h straight already without an error).

I have no clue what token I'm supposed to get and where. There's no details.

Sorry, leave it empty and the next time you start the bot it will tell you the token you have to put in there in the console

I hope they add an automatic Google login, I don't wanna reset D:

Coming. Soon :tm:

Same not to mention after around 30 or so minutes it begins tossing errors like it was disconnected.

That's what the token= is for. Only verified to work with PTC though.

jabbink avatar Jul 22 '16 13:07 jabbink

Ah c: Thank you @jabbink I was wondering if it affected google accounts at all. I use google so maybe that's why it didn't say anything. Really look forward in the automatic google login!

RaeneDev avatar Jul 22 '16 14:07 RaeneDev

I was talking about google, and it works for me. Just copy the token.

edit; Just realised that the token expires after some time...

PancakeZik avatar Jul 22 '16 14:07 PancakeZik