Hi guys, i’m running an <cal.com> instance and any...
# developers
v
Hi guys, i’m running an cal.com instance and any users integration with google calendar periodically go from connected to invalid_grant. Do i need to be running some worker to regularly refresh some tokens? if so, then how?
j
Hey @Valdis Pornieks, whenever a Google Calendar method (createEvent, getAvailability) is called it should automatically check to see if the access token is still valid, if not grab new ones. You can see this under
packages/app-store/googlecalendar/lib/CalendarService.ts
line 60
v
thanks, will check