I want to build a backend application that allow people to CRUD their google calendar's events.
I will use Google Calendar API and OAuth2. I will save user's refresh code into my app's database. So that when users query, I can use the refresh token to refresh the access token and query Google calendar API.
But I wonder is there anyway that I can know user's refresh token is expired. So that I can request users for new authorization.
Thanks for reading my question.