Skip to content

Conversation

@Avery-Dunn
Copy link
Contributor

In #811 code related to refresh tokens was refactored to reduce complexity and improve readability. As part of that, logic for determining if a token was expired was moved from TokenCache to AcquireTokenSilentSupplier

However, as shown in #874 the 5 minute buffer time for expired tokens was incorrectly being subtracted instead of added. This PR fixes the issue.

@Avery-Dunn
Copy link
Contributor Author

/azp run

@Avery-Dunn Avery-Dunn merged commit c7ed174 into dev Oct 27, 2024
@bgavrilMS bgavrilMS linked an issue Oct 28, 2024 that may be closed by this pull request
@Avery-Dunn Avery-Dunn deleted the avdunn/expire-buffer-fix branch January 21, 2025 21:13
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.

[Bug] Expired tokens being returned from the cache

3 participants