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-GoogleCalendar auth expiring after a week

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 3 Posters 834 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.
    • K Offline
      khrusher
      last edited by

      I have MMM-GoogleCalendar running pulling several calendars and it works great…for a week.

      As I have been running this for two weeks, I have had two invalid_grant situations.

      Deleting token.json and rerunning the authentication get me back up and working. This is not normal practice, correct?

      Anyone else experience this?

      I do not have a google workgroup so my project is test mode (something like that) Am I missing an Google auth step?

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @khrusher
        last edited by sdetweil

        @khrusher the module could refresh the token itself

        there is an open issue
        https://github.com/randomBrainstormer/MMM-GoogleCalendar/issues/65

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • K Offline
          khrusher
          last edited by

          thanks! I searched the archive with invalid_grant. I guess with the underscore I didnt match that item.

          Appreciate the help.

          1 Reply Last reply Reply Quote 0
          • K Offline
            khrusher
            last edited by

            I followed the steps in the attached issue. I will post update after some time

            1 Reply Last reply Reply Quote 0
            • K Offline
              khrusher
              last edited by

              after 7 days…invalid_grant again.

              delete token.json and rerun auth again required to get back up. Would all be easy if I had a keyboard already attached…but I dont. maybe I need a wireless keyboard

              BKeyportB 1 Reply Last reply Reply Quote 0
              • BKeyportB Offline
                BKeyport Module Developer @khrusher
                last edited by

                @khrusher It’s something on Google’s end, I’d bet. Gmail was also acting up for extensions - losing permissions within a week or so.

                Google updating their security and breaking access.

                The "E" in "Javascript" stands for "Easy"

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  khrusher @BKeyport
                  last edited by

                  @BKeyport no doubt, not knocking the module, it works great. I just followed along with Auth steps…kind of black0box for me.

                  I think a cheap wireless keyboard will be good any way.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • 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