Skip to content

google photos auth broken #8

@joshcsepegi

Description

@joshcsepegi

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

mmm-googledriveslideshow@0.0.1 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions