[CAL-1195] Google calendar token expired
This is what is displayed when access token expires. There is an error refreshing tokens in the logs
@calcom/web:dev: 23:24:16.998 ERROR [[lib] google_calendar Error refreshing google token @calcom/web:dev: Error invalid_grant
@calcom/web:dev: data: { @calcom/web:dev: error: 'invalid_grant', @calcom/web:dev: error_description: 'Token has been expired or revoked.' @calcom/web:dev: },
Moreover, this prevents events from syncing with Google Calendar.
Need to inform user when token expires through email or better figure out if refreshing token is possible as all the booking made when user token expires won't show up in the calendar.
Same as #5796. This bug makes self-hosted Cal pretty much unusable for me.
we're urgently investigating!
@alannnc can you replicate in your self-hosted instance?
Are the Oauth credentials "in production" on google's side?
@ilyasubkhankulov Just the switched the OAuth credentials to "In production" — was not before. Will report back in a week or so.
@ilyasubkhankulov Things seem to be fine now! Can't be sure if that was the fix, but maybe it would be best to add that step to the README just in case it was.
@alannnc @zomars @roae Is something need to be done here.
In my knowledge, credentials refresh automatically and it works.
Closing this as resolved 🙏