Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle the old python3-google-auth in Debian (1.5.x)
Implement our own to_json() method and adjust the code handling the refresh of the credentials: Old versions of the library did not read expiry or token from the file, needing you to refresh the token, but we did not trigger refresh because the token was never considered expired, hence check whether we have a token, and , if not, also consider it expired. Additionally, make the credential storage atomic such that we do not accidentally write an empty credential file on errors.
- Loading branch information