Skip to content

Commit

Permalink
add cache key for silent request
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyf19 committed Jun 26, 2020
1 parent 22e12e4 commit a3b2015
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ protected override async Task<AuthenticationResult> ExecuteAsync(CancellationTok
{
try
{
AuthenticationRequestParameters.SuggestedCacheKey = _silentParameters.Account?.HomeAccountId?.Identifier;
_logger.Info("Attempting to acquire token using using local cache...");
return await _clientStrategy.ExecuteAsync(cancellationToken).ConfigureAwait(false);
}
Expand Down

0 comments on commit a3b2015

Please sign in to comment.