Kapil Pandey
Kapil Pandey
> ```js > let refreshTiming = (res.tokenObj.expires_in || 3600 - 5 * 60) * 1000; > ``` I was banging my head from last 2 days for a way to...
So is there any way to refresh token even after page refresh?
> According to [README](https://github.com/anthonyjgrove/react-google-login#onsuccess-callback--w-offline-false), The response in `onSuccess` handler is also a [GoogleUser Object](https://developers.google.com/identity/sign-in/web/reference#users), which provides the methods as calling `gapi`. > > Here is my code to refreshing token...