hermanho / MMM-GooglePhotos

Display your photos on MagicMirror from Google Photos.
MIT License
170 stars 65 forks source link

Token does not refresh itself. #86

Closed Blauenfeldt closed 4 years ago

Blauenfeldt commented 4 years ago

Whenever I turn on the raspberry pi, I manually have to go in and type "node generate_token.js", as it doesn't do by itself. If I set the Debug to True, than the console will just say, that the token is expired.

ChrisAcrobat commented 4 years ago

I don't think it should, it should be a one time job.

Blauenfeldt commented 4 years ago

Sorry it didn't say it, but I got it working. Seems like i generated the first token with "Sudo node Generate.js" which made the token protected by root permissions.