• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.4k 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 Sep 11, 2022, 12:25 PM

    @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 Sep 11, 2022, 12:26 PM

      @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 Sep 12, 2022, 8:05 AM

        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 Sep 12, 2022, 11:09 AM Reply Quote 0
        • S Offline
          sdetweil @MMRIZE
          last edited by Sep 12, 2022, 11:09 AM

          @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 Sep 12, 2022, 1:31 PM Sep 12, 2022, 1:27 PM

            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 Sep 12, 2022, 1:33 PM Reply Quote 0
            • S Offline
              sdetweil @MMRIZE
              last edited by Sep 12, 2022, 1:33 PM

              @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 Sep 12, 2022, 1:49 PM Reply Quote 0
              • M Offline
                MMRIZE @sdetweil
                last edited by Sep 12, 2022, 1:49 PM

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

                S 1 Reply Last reply Sep 12, 2022, 2:52 PM Reply Quote 0
                • S Offline
                  sdetweil @MMRIZE
                  last edited by Sep 12, 2022, 2:52 PM

                  @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
                  1 / 2
                  • First post
                    10/13
                    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