Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh the Azure SAS token before its expiration? #742

Open
rmt2021 opened this issue Jul 13, 2022 · 1 comment
Open

Refresh the Azure SAS token before its expiration? #742

rmt2021 opened this issue Jul 13, 2022 · 1 comment

Comments

@rmt2021
Copy link

rmt2021 commented Jul 13, 2022

Describe the bug

The current GetDownloadUriAsync will set the expiry time to 10 mins. However, the token may expire when the read operation has not been finished, so a 403 Forbidden will be encountered.

Expected behavior

We can refresh the token before it gets expired, then users could retry their operation again.

@loic-sharma
Copy link
Owner

I'd be happy to accept a contribution that increases the expiry time to a higher yet reasonable value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants