JwtSecurityTokenHandler 4.0.0 Breaking Changes?

前端 未结 2 1458
感动是毒
感动是毒 2021-01-20 04:48

This is a simplified test for JwtSecurityTokenHandler 4.0.0 in Linqpad. The code works well with JwtSecurityTokenHandler 3.0.2, the token is generated and validated. In 4.0.

2条回答
  •  猫巷女王i
    2021-01-20 05:33

    Sorry you're experiencing issues. We will get some more eyes on the above to see what might be wrong. In the meanwhile, I suggest taking a look to https://github.com/AzureADSamples/WebAPI-ManuallyValidateJwt-DotNet and in particular global.asax.cs - that's the sample where we feature raw use of the JWT handler. HTH V.

提交回复
热议问题