IdentityModel.AspNetCore.OAuth2Introspection icon indicating copy to clipboard operation
IdentityModel.AspNetCore.OAuth2Introspection copied to clipboard

Revert #173 + add unit tests

Open gao-artur opened this issue 1 year ago • 1 comments

Revert PR #173, which introduced bug #177. I also added 2 unit tests: one to verify the introspection result sharing with concurrent calls. The second reproduces bug #177.

Note the cancellation test will behave differently with IdentityModel v6.1.0 because of this PR. It will still fail on the second request, but because of TaskCancelledException instead of invalid StatusCode.

gao-artur avatar Jul 14 '23 15:07 gao-artur

@leastprivilege, @bmendonca21 please review. @renagaev you may be also interested to review as you contributed the #173.

gao-artur avatar Jul 14 '23 15:07 gao-artur