Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google photos auth broken #8

Open
joshcsepegi opened this issue Mar 30, 2022 · 2 comments
Open

google photos auth broken #8

joshcsepegi opened this issue Mar 30, 2022 · 2 comments

Comments

@joshcsepegi
Copy link

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

[email protected] token:generate
node generate-auth-token.js

/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)

@phevi0
Copy link

phevi0 commented Apr 2, 2022

Changing it to Desktop App made it work for me.

@Tomxtal
Copy link

Tomxtal commented May 4, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants