A few times a month, my mirror displays invalid token where the calendar should be. I fix it by deleting token.json in ~/MagicMirror/modules/MMM-GoogleCalendar and then running node authorize.js, which I have to do in a graphical session. This is cumbersome and time consuming. It is troubling that this error condition happens so often and that fixing it takes time. I was wondering if there was a way to either avoid this error situation entirely or at least automate the fix?
Thanks so much for your help.