You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/pi/MagicMirror/modules/MMM-GoogleDriveSlideShow/generate-auth-token.js:33
const OAuth2Client = new google.auth.OAuth2(client_id, client_secret, redirect_uris[0]);
^
TypeError: Cannot read properties of undefined (reading '0')
at /home/pi/MagicMirror/modules/MMM-GoogleDriveSlideShow/generate-auth-token.js:33:86
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
The text was updated successfully, but these errors were encountered:
Can anyone help. I have a working MMM-GoogleDriveSlideShow at the moment but I have received a email from Google telling me that OAuth OOB flow will be deprecated on October 3, 2022. my problem is do not know what I'm to do, I see phevi0 say Changing it to Desktop App. As I do not know where to start can someone help.
It seems google has changed the authorization process. both this project and the google photos project are broken.
here is the error.
pi@atari-pi:~/MagicMirror/modules/MMM-GoogleDriveSlideShow $ npm run token:generate
/home/pi/MagicMirror/modules/MMM-GoogleDriveSlideShow/generate-auth-token.js:33
const OAuth2Client = new google.auth.OAuth2(client_id, client_secret, redirect_uris[0]);
^
TypeError: Cannot read properties of undefined (reading '0')
at /home/pi/MagicMirror/modules/MMM-GoogleDriveSlideShow/generate-auth-token.js:33:86
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
The text was updated successfully, but these errors were encountered: