Skip to content

Commit d45a0ac

Browse files
gladjohnbgavrilMS
authored andcommitted
Update src/client/Microsoft.Identity.Client/Internal/Requests/ClientCredentialRequest.cs
Co-authored-by: Bogdan Gavril <bogavril@microsoft.com>
1 parent 625a9d3 commit d45a0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/Microsoft.Identity.Client/Internal/Requests/ClientCredentialRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ private async Task<MsalAccessTokenCacheItem> GetCachedAccessTokenAsync()
207207
if (string.Equals(cachedTokenHash, _clientParameters.AccessTokenHashToRefresh, StringComparison.Ordinal))
208208
{
209209
AuthenticationRequestParameters.RequestContext.Logger.Info(
210-
"[ClientCredentialRequest] Found the 'bad' token in the cache. Skipping cache usage.");
210+
"[ClientCredentialRequest] A cached token was found, but it matches the AccessTokenHashToRefresh, so it is ignored");
211211
return null; // triggers a new token acquisition
212212
}
213213
}

0 commit comments

Comments
 (0)