Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New Google Sign-In: Token used too late, 1452928807 > 1452897485

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?

like image 556
Maurice Döpke Avatar asked Oct 19 '25 08:10

Maurice Döpke


1 Answers

Check your server time - this sort of thing is usually due to the Google servers and your server disagree on time.

like image 126
VISHNU Avatar answered Oct 21 '25 22:10

VISHNU



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!