MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-GooglePhotos ;Google OAuth Developer

    Scheduled Pinned Locked Moved General Discussion
    13 Posts 3 Posters 3.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      Rags @sdetweil
      last edited by

      @sdetweil Okay I see that the issue has already been opened in the modules page and under discussion. Hope it is resolved. Thanks

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Rags
        last edited by

        @Rags looks like someone has a workaround for sane issue

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          MMRIZE
          last edited by

          Hmmmm… That module is still maintained? or abandoned? (This is a very stupid question for me. because myself threw it to @aneaville . If he is not maintaining this module anymore , I’ll retake it again.)

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @MMRIZE
            last edited by

            @MMRIZE it was last updated about this time last year…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              MMRIZE
              last edited by MMRIZE

              Ok. I tested the module by myself. Google changed some policies, so the guide of README.md in the module is somewhat outdated.

              Here is a simple fixture;

              1. Selection of Application type on Create OAuth client ID should be Desktop app not TVs and Limited input devices and others. (Step 7 of the guide)

              2. When generating the token,
                y2.png
                the browser will open and then ask for some consent. (Despite of warning for test/unverified app, do it anyway. You can remove that warning by your app is published.). But after confirmation, the page might be directed to ERR_CONNECTION_REFUSED error page. Don’t panic and see the URL of that error page. It would be something like;

              http ://localhost/?code=4/SOME_HASHED_CODE_OF_YOURS...&scope=https://www.googleapis.com/auth/photoslibrary.sharing…

              Copy the marked portion of your browser, then paste it into your terminal.
              (Step 10 of the guide)

              Boom, it will work.
              82c41d52-0cc2-48c9-9442-382bb5a0d03c-image.png

              However, I think the module has become legacy and need updating with recent skill. I hope I have some time to upgrade it.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @MMRIZE
                last edited by

                @MMRIZE the auth script should set up an express server for the callback and extract the code automatically… easy

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE @sdetweil
                  last edited by

                  @sdetweil
                  Yup, if I have some time, I’ll rebuild the whole codes. it’s too old.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @MMRIZE
                    last edited by

                    @MMRIZE u want me to add that? I can do u can incorporate. (really just copy paste from other code)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 1 / 2
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy