• 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-GoogleCalendar stopped working "INVALID_GRANT"

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 375 Views 2 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.
  • N Offline
    nowayto
    last edited by Mar 9, 2025, 1:21 PM

    After a week I got “INVALID_GRANT” does the token expire every 7 days because my app is in “testing”?
    In fact my “app” in not an app, is just an authorization token for my calendar so my question is, if I publish the app, does my calendar datas could become public?
    And how much time will be the OAuth token duration?
    Eventually, which are your advice to another type of calendar?
    Honestly I don’t wann become slave for the calendar authentication.
    Thanks

    S 1 Reply Last reply Mar 9, 2025, 4:10 PM Reply Quote 0
    • S Offline
      sdetweil @nowayto
      last edited by sdetweil Mar 9, 2025, 4:12 PM Mar 9, 2025, 4:10 PM

      @nowayto there IS a published api process to update the authorization token

      so the module would need to follow that

      the default calendar module can read google ICS file
      and broadcast that to other modules (no display if no position set)

      like MMM-CalendarExt3 (and family) which shows a wall calendar view
      and Journal which shows a list view
      etc

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      N 1 Reply Last reply Mar 10, 2025, 7:08 PM Reply Quote 0
      • N Offline
        nowayto @sdetweil
        last edited by Mar 10, 2025, 7:08 PM

        @sdetweil Ok, so I set your standard calendar module with google ics url; it should read google events and broadcast to CalendarExt3.
        I hope I understand your message well.
        Using ICS instead of OAuth my question is: does it update automatically or I have to manually update it?
        Can I add more than one calendar? If you, which is the correct formattation?
        Is the configuration under here correct?

                    calendars: [
                      {
                    url: "ht****lendar.google.com/MYURLCALENDAR.ics",
                    fetchInterval: 7 * 24 * 60 * 60 * 1000,
                    fade: "false",
                    name: "MYCALENDARNAME", // <= RECOMMENDED to assign name
                    color: "blue", // <= RECOMMENDED to assign color
                    customEvents: [{keyword: 'Birthday', symbol: 'birthday-cake', color: 'Gold'},{keyword: 'Dinner', symbol: ' pizza-slice', color: 'red'}],
        
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          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