Skip to content

Conversation

@Avery-Dunn
Copy link
Contributor

Adjusts the refreshOn calculation in MI flows to be half of a token's lifetime (if that lifetime is greater than two hours), see #848 for details.

Additionally, this PR removes the static caching of managedIdentitySource, since determining the source is cheap but caching it statically can cause issues in test environments. This same problem that was also found in MSAL .NET and this same fix was done in AzureAD/microsoft-authentication-library-for-dotnet#4840

@Avery-Dunn Avery-Dunn requested a review from a team as a code owner August 27, 2024 00:47
@Avery-Dunn Avery-Dunn merged commit 7d9ce19 into dev Aug 30, 2024
@Avery-Dunn Avery-Dunn deleted the avdunn/mi-refreshon 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.

3 participants