I am creating a custom integration using the Google Calendar API. I can get the oauth2 authentication to work initially, but it stops working after about an hour. I am trying to get a refresh token, but my guess is that something in that process is not working.
I have setup these URL parameters:
response_type = code
approval_prompt = force (I’ve tried ‘consent’ but same results)
access_type = offline
How can I get my authorization to stick?