We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0896e1 commit 80fef19Copy full SHA for 80fef19
src/Microsoft.IdentityModel.Protocols/Configuration/ConfigurationManager.cs
@@ -348,7 +348,7 @@ private void UpdateCurrentConfiguration()
348
private void UpdateConfiguration(T configuration)
349
{
350
_currentConfiguration = configuration;
351
- _syncAfter = DateTimeUtil.Add(TimeProvider.GetUtcNow().DateTime, AutomaticRefreshInterval +
+ _syncAfter = DateTimeUtil.Add(TimeProvider.GetUtcNow().UtcDateTime, AutomaticRefreshInterval +
352
TimeSpan.FromSeconds(new Random().Next((int)AutomaticRefreshInterval.TotalSeconds / 20)));
353
}
354
0 commit comments