I can sync and send commands to my devices with my GH action. But after 1 hour, I always get "I'm sorry, there was an error and I'm unable to control your home device." Nothing is sent to my cloud function action. When I unlink the service and link it again all works as expected. How can I troubleshoot this problem?
Btw I used Google Sign-In for OAuth and account linkling.
You can't use accounts.google.com/o/oauth2/v2/auth & googleapis.com/oauth2/v4/token
anymore. They might work in the test version of your app but your app will not be published unless you implement your own OAuth server. This means setting up your own Auth and Token endpoints (or just Auth if you use the implicit flow) where the user can log in and authenticate with your service.