I've created a simple Python/flask website which connects to a Google Calendar via the Google Calendar API. I followed the instructions at https://developers.google.com/calendar/api/quickstart/python, and it works well... The whole thing is internal to my company. I copied the credentials.json and token.json along with my website to an internal device I'm using as a webserver. Again, all works fine. Except, at some stage, I am under the impression that my credentials will expire, and the web server will need to re-authenticate with my personal google account. How do I get around this? Continue reading...