Skip to content

Commit 9f36aaa

Browse files
authored
Merge pull request DuendeArchive#173 from renagaev/pass-requestaborted
Pass HttpContext.RequestAborted to IntrospectTokenAsync
2 parents efb83c2 + 16b46b6 commit 9f36aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OAuth2IntrospectionHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private static async Task<TokenIntrospectionResponse> LoadClaimsForToken(
187187

188188
await events.SendingRequest(requestSendingContext);
189189

190-
return await introspectionClient.IntrospectTokenAsync(request).ConfigureAwait(false);
190+
return await introspectionClient.IntrospectTokenAsync(request, context.RequestAborted).ConfigureAwait(false);
191191
}
192192

193193
private static TokenIntrospectionRequest CreateTokenIntrospectionRequest(

0 commit comments

Comments
 (0)