Google API: “invalid_grant”, but the code haven't changed

前端 未结 1 644
小鲜肉
小鲜肉 2021-01-23 02:47

I have the following problem with authentication to Google API:

PHP Fatal error: Uncaught exception \'Google_Auth_Exception\' with message \'Error refres

相关标签:
1条回答
  • 2021-01-23 03:02

    The solution was synchronizing the server time. Server time was only 40 seconds different to atomic clock, but after sending ticket to my hosting provider I managed to get it working. Problem has gone. However, if someone could explain why does OAuth is such rigourous on the precise date and time, I would be grateful.

    0 讨论(0)
提交回复
热议问题