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.1k 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
      last edited by

      Hello everyone,
      I have been receiving alerts from Google;

      “Hello Google OAuth Developer,
      We’re writing to remind you that the OAuth out-of-band (OOB) flow will be deprecated on October 3, 2022, to protect your users from phishing and app impersonation attacks.
      Please see the Making Google OAuth interactions safer by using more secure OAuth flows blog post to learn about the deprecation
      Follow the Out-of-band (OOB) Migration Guide to migrate your app to an alternative method.”

      So I am running the Google-Photos module to display my photos on the MM. I had followed the setup instructions as per the requirements of the module and the module is running without any hitch since the last two years. Would I have to make changes now to comply with the Google alerts? Please guide me.
      Thanks

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

        @Rags the module author, or someone will have to update the module code

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil Thanks, so can @aneaville, follow up please. The google photos modules is pretty neat and quite a conversation starter, and it would be a shame if it stops working.

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

            @Rags open an issue on the modules GitHub page. not here.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 2 Replies Last reply Reply Quote 0
            • R Offline
              Rags @sdetweil
              last edited by

              @sdetweil Roger Sir.

              S 1 Reply Last reply Reply Quote 0
              • 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 Away
                  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 Away
                      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
                        • 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
                          OSZAR »