Skip to content

Commit

Permalink
improve nonce error test
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Mar 30, 2023
1 parent bc59356 commit 185f407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Duende.AccessTokenManagement/AccessTokenHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage
var force = !response.IsDPoPNonceError();
if (!force && !string.IsNullOrEmpty(dPoPNonce))
{
_logger.LogDebug("DPoP error invoking endpoint: {url}, retrying using new nonce", request.RequestUri?.AbsoluteUri.ToString());
_logger.LogDebug("DPoP nonce error invoking endpoint: {url}, retrying using new nonce", request.RequestUri?.AbsoluteUri.ToString());
}

await SetTokenAsync(request, forceRenewal: force, cancellationToken, dPoPNonce).ConfigureAwait(false);
Expand Down

0 comments on commit 185f407

Please sign in to comment.