Giter Club home page Giter Club logo

Comments (11)

syedmuhd82 avatar syedmuhd82 commented on June 2, 2024 1

Almost 2 day and 2 night to figured it out :( the example on the quickstart is not good example.. because as google developer, the dev should test before put at the website as example.. now many newbie cannot start with quickstart hehe...

from php-samples.

syedmuhd82 avatar syedmuhd82 commented on June 2, 2024 1

No problem.. hope u can test the eric way, if any problem u can roger here, eric will fix the bug...

from php-samples.

erickoledadevrel avatar erickoledadevrel commented on June 2, 2024

This error is being thrown because the saved tokens in token.json doesn't contain a refresh_token, which is needed to refresh the access token after it's expired. At the moment the code isn't checking that a refresh token exists before it attempts to refresh the access token, nor handling the case when one doesn't exist. I'll put together a PR to fix this.

from php-samples.

syedmuhd82 avatar syedmuhd82 commented on June 2, 2024

The code from the developer contain a bug to handle the refreshtoken as today 9 September 2018.
i already fix the solution for this... you must save 2 location for token

  1. handlerefeshtoken.json
  2. token.json

hope this help...

from php-samples.

 avatar commented on June 2, 2024

How long can you solve this problem?

from php-samples.

 avatar commented on June 2, 2024

from php-samples.

erickoledadevrel avatar erickoledadevrel commented on June 2, 2024

I pushed out some new code that handles this case better. Please try that new code and let me know if you still have a problem.

from php-samples.

 avatar commented on June 2, 2024

is it auto refresh-token for my apps or I have to copy the authenication from the warn on the CMD?

from php-samples.

 avatar commented on June 2, 2024

if I wanna auto the refresh-token, do I need some file to get that?

from php-samples.

syedmuhd82 avatar syedmuhd82 commented on June 2, 2024

Hyperaktiv, do u already test the code? Suppose the code from eric now it will auto refresh the new token when reach after 3600 second..

from php-samples.

 avatar commented on June 2, 2024

ah, my fault, I've not read carefully.. Sorry
Thank you very much. Hope that I can keep in touch with you

from php-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.