HumanCellAtlas / dcp-cli

DEPRECATED - HCA Data Coordination Platform Command Line Interface
https://hca.readthedocs.io/
MIT License
6 stars 8 forks source link

Refresh jwt using dcplib. #487

Open DailyDreaming opened 4 years ago

DailyDreaming commented 4 years ago

We already refresh tokens (https://github.com/HumanCellAtlas/dcp-cli/pull/446), so I view this as fairly low priority, but we could leverage:

https://github.com/HumanCellAtlas/dcplib/blob/5704ea9bc8c07f6ac7905cb63f45e34f3fd4213d/dcplib/security/dcp_service_account.py#L10

And centralize how we refresh jwt.