【发布时间】:2017-08-08 09:39:00
【问题描述】:
我正在关注这个post 来实现 IdentityServer4。我有问题,在过程 GetProfileDataAsync IEnumerable context.RequestedClaimTypes 中的 ProfileService 为空。我应该在 Postman 中更改我的请求以请求某些索赔类型吗?我该怎么做才能使 context.RequestedClaimTypes 包含声明类型?
我的 Postman 请求如下所示:
Post http://localhost:57577/connect/token
Authorization: Basic Z2xvYmFsX2F...
Body (x-www-form-urlencoded):
username:user@gmail.com
password:pass
grant_type:password
scope:my_api
【问题讨论】:
标签: asp.net-core identityserver4