sparkgeo / prescient-sdk

An SDK for integrating with Prescient services
MIT License
0 stars 0 forks source link

Bug_token_expiry_issue #20

Closed michaelconnor00 closed 2 weeks ago

michaelconnor00 commented 2 weeks ago

This PR changes the expired creds check to only use the auth credentials. The aws credentials have a dependency on the azure credentials, so once those creds expire, we will now refresh both sets of credentials.

Also note, the Azure tokens expiration is random between 60 and 90 minutes, so the AWS bucket creds are bumped up to 2 hr to avoid any issues.