【发布时间】:2017-10-03 11:18:46
【问题描述】:
我正在使用 JWT 来验证令牌。当我使用邮递员 API 传递请求时返回错误
'System.IdentityModel.Tokens.JwtSecurityTokenHandler' 无法读取此字符串:'TokenValue!@%^&'
如何解决这个问题
邮递员请求
http://localhost:52586/api/Doctor
Content-Type:application/json
Authorization:Bearer {{NurseAdminToken}}
【问题讨论】:
-
您在第二张图片中显示的令牌看起来不像 JWT。是什么代币?
标签: asp.net-web-api2 token jwt access-token postman