• 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.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 Sep 11, 2022, 11:36 AM

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

      @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 Sep 11, 2022, 12:06 PM Reply Quote 0
      • R Offline
        Rags @sdetweil
        last edited by Sep 11, 2022, 12:06 PM

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

          @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 Sep 11, 2022, 12:20 PM Reply Quote 0
          • R Offline
            Rags @sdetweil
            last edited by Sep 11, 2022, 12:20 PM

            @sdetweil Roger Sir.

            S 1 Reply Last reply Sep 11, 2022, 12:26 PM Reply Quote 0
            • 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
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/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