TokenValidationParameters no longer working after upgrade to 5.0.0

后端 未结 5 809
梦谈多话
梦谈多话 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:20

    TokenValidationParameters is in assembly: Microsoft.IdentityModel.Tokens

    It looks like you are using Katana (the first version of asp.net OWIN offering). Katana does not support 5.0.0. You need to stick with 4.x.

    The latest version of asp.net takes a dependency on S.IM.xx and M.IM.xxx 5.0. https://github.com/aspnet

提交回复
热议问题