Cannot use with OWIN 4.x and Microsoft.IdentityModel 5.x
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
And what should we do instead?
Keep: Microsoft.Owin.Security.WsFederation Version 3.1.0 and System.IdentityModel.Tokens.Jwt versie 4.04
Any updates about this?
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