A collection of Python clients and accessory scripts for interacting with the Cromwell
BSD 3-Clause "New" or "Revised" License
22
stars
9
forks
source link
Add token checker before making the header to avoid token expiration. #58
Closed
rexwangcc closed 5 years ago
Purpose
Please explain the purpose of this PR and include links to any GitHub issues that it fixes:
https://app.zenhub.com/workspaces/dcp-backlogs-5ac7bcf9465cb172b77760d9/issues/humancellatlas/secondary-analysis/431
Changes
Please list out what major changes were made in this PR to address the issue:
Add a token checker before making the header to avoid token expiration by refreshing the token if it's required with OAuth.
Review Instructions
Please provide instructions about how should a reviewer test/verify the changes in this PR:
The unit tests should pass, which implies that the property changes are not affecting the Auth API.
PR Checklist
Please ensure the following when opening a PR:
Follow-up Discussions
Please append follow-up discussions and issues during the review process below: