I have the following problem with authentication to Google API:
PHP Fatal error: Uncaught exception \'Google_Auth_Exception\' with message \'Error refres
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.