Armax / Pokemon-GO-node-api

Pokemon GO api node.js library
MIT License
875 stars 198 forks source link

automatically renew auth token #226

Closed segura2010 closed 8 years ago

segura2010 commented 8 years ago

I also use npm package of node-pogo-signature and s2-geometry (s2-geometry implementation in pure JS). Both works well.

WesVleuten commented 8 years ago

This will probably resolve one of the issues mentioned in #220

cpainchaud commented 8 years ago

since S2 usage was merged earlier, I think you need to close this PR et make a new one with just yyou auth-ticket renew ?

segura2010 commented 8 years ago

@cpainchaud yes, you are right :) I will prepare a new PR asap

marvi14 commented 8 years ago

Did someone manage to renew token from an expired accessToken? the thing is that renewing the token with username and password is possible, but when the users logs in with google, the google AuthCode is expired, and i don't want the user to relog with google again