Closed akhmerov closed 3 years ago
It's a bit hard to support before https://github.com/PyGithub/PyGithub/pull/1681 is merged.
Should be fixed. I switched to the master branch of pygithub because the are slow to release :( I'll switch back once the new version is out.
Youtube oauth token expires within an hour. It's possible to use a refresh token to get a new one, however it seems that you can't refresh the same token several times.
The solution to that is to save the updated token into the secret. PyGithub doesn't seem to support this, but it's a simple PUT request.