TokenValidationParameters no longer working after upgrade to 5.0.0

后端 未结 5 789
梦谈多话
梦谈多话 2020-12-24 04:39

I have the following code which was working when I was using System.IdentityModel.Tokens.Jwt, Version=4.0.20622.1351

private static void Co         


        
5条回答
  •  时光说笑
    2020-12-24 05:44

    So I am also experiencing the same issue today. After looking down to the bottom of it I think I know the answer.

    In short it is the issue with Katana project (http://katanaproject.codeplex.com/) being failed to comply with the current changes of Windows Azure Active Directory IdentityModel Extensions for .Net (https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet)

    For more details, TokenValidationParameters was there in System.IdentityModel.Tokens.Jwt assembly verion 4.0 but it has been moved out in version 5.0. The new home for it is now in assembly Microsoft.IdentityModel.Tokens.

    Sorry I can not provide a fix it is a design change from which the Katana code base needs to be dramatically refactored.

提交回复
热议问题