I am following this post to implement IdentityServer4. I have problem that in ProfileService in procedure GetProfileDataAsync IEnumerable context.RequestedClaimTypes is empty. Should I change my request in Postman to request certain claim types? What can I do so that context.RequestedClaimTypes contains claim types?
My Postman request looks like this:
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