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

OAuth2IntrospectionHandler uses ISystemClock that is obsolete in .NET 8

Open nuttytree opened this issue 1 year ago • 1 comments

In .NET 8 Microsoft made the ISystemClock interface obsolete. In my code I have a need to extend the OAuth2IntrospectionHandler but now that I am working to get ready for .NET 8 I get compile errors because of the obsolete ISystemClock. In general a NuGet should be targeting all currently supported versions of .NET both because it gives consumers of the NuGet confidence that the code has been evaluated and tested against the newer versions of .NET and so that changes like this can be accounted for based on the target version of the NuGet build.

nuttytree avatar Apr 04 '24 13:04 nuttytree

I have submitted a PR #191 to add .Net 8.0 support.

askids avatar Jun 29 '24 20:06 askids

Thanks for raising this issue. We're working on merging #191 now.

josephdecock avatar Jul 09 '25 19:07 josephdecock