WindowsAuthentication icon indicating copy to clipboard operation
WindowsAuthentication copied to clipboard

Cannot use with OWIN 4.x and Microsoft.IdentityModel 5.x

Open explunit opened this issue 6 years ago • 4 comments

Adding issue here to help others who may be googling this...

If you attempt to use this package with the WsFederation Middleware in OWIN/Katana 4.0 (which uses Microsoft.IdentityModel 5.x) you will get a SecurityTokenException "no validator found" error message.

This is due to a bug in Microsoft.IdentityModel 5.x: https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/1107

explunit avatar Jan 31 '19 17:01 explunit

And what should we do instead?

Ton024 avatar May 17 '19 19:05 Ton024

Keep: Microsoft.Owin.Security.WsFederation Version 3.1.0 and System.IdentityModel.Tokens.Jwt versie 4.04

Ton024 avatar May 18 '19 12:05 Ton024

Any updates about this?

rb84 avatar Jul 05 '19 18:07 rb84

I'd be surprised if a fix/workaround appears in this library, but I hope that Microsoft will fix the underlying issue: https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/1107

explunit avatar Jul 05 '19 18:07 explunit