无法将Jwt身份验证的asp.net core 1.x项目迁移到2.0

时间:2017-08-16 11:25:09

标签: asp.net-core jwt migrate asp.net-core-2.0

我试图将我的asp.net核心1.1项目迁移到asp.net core 2.0。 我使用了her中的指南来实现jwt身份验证。

现在我已升级到2.0,我已使用herehere中的指南进行迁移,但HttpContext.User.Identity.IsAuthenticated为false。

客户端正确发送承载令牌。 任何链接或指针都表示赞赏。

0 个答案:

没有答案