I'm trying to implement the new Google Sign-In in a new app.
I implemented the official example with additionally requesting the idToken.
Then I send the token to my server via a volley post request and verify it using the python example google posted here (on the bottom of the page).
Everything is working fine except for the verification of the idToken. The following error occurs all the time:
Token used too late, 1452928807 > 1452897485:
It is followed by the account information of the user.
It seems like the token is not refreshing - or something like that - because the expiring date of the token stays the same, even if I sign out and in again.
Google doesn't mention any method to refresh the token or what to do if it has expired.
Has anyone an how to solve this problem?
Check your server time - this sort of thing is usually due to the Google servers and your server disagree on time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With