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

handle tokens that expire immediately in AutoRefreshingTokenCredential #1176

Merged
merged 2 commits into from
Dec 16, 2022

Conversation

demoray
Copy link
Contributor

@demoray demoray commented Dec 13, 2022

This removes the looping in AutoRefreshingTokenCredential as at least one of the providers, in particular AzureCliCredential returns tokens that expire immediately, indicating the token should always be refreshed before reuse.

This addresses #1143

This removes the looping in `AutoRefreshingTokenCredential` as at least
one of the providers, in particular `AzureCliCredential` returns tokens
that expire immediately, indicating the token should always be refreshed
before reuse.

This addresses Azure#1143
@demoray demoray requested a review from rylev December 14, 2022 17:32
@demoray demoray merged commit b9d313e into Azure:main Dec 16, 2022
@demoray demoray deleted the dont-loop-on-autorefresh-get-token branch December 16, 2022 19:32
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

Successfully merging this pull request may close these issues.

2 participants