{"action":"opened","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1079","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1079/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1079/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1079/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1079","id":62137913,"number":1079,"title":"Mapping additional WsFederation through to client ","user":{"login":"gaspode44","id":1748722,"avatar_url":"https://avatars.githubusercontent.com/u/1748722?v=3","gravatar_id":"","url":"https://api.github.com/users/gaspode44","html_url":"https://github.com/gaspode44","followers_url":"https://api.github.com/users/gaspode44/followers","following_url":"https://api.github.com/users/gaspode44/following{/other_user}","gists_url":"https://api.github.com/users/gaspode44/gists{/gist_id}","starred_url":"https://api.github.com/users/gaspode44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaspode44/subscriptions","organizations_url":"https://api.github.com/users/gaspode44/orgs","repos_url":"https://api.github.com/users/gaspode44/repos","events_url":"https://api.github.com/users/gaspode44/events{/privacy}","received_events_url":"https://api.github.com/users/gaspode44/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-16T16:40:39Z","updated_at":"2015-03-16T16:40:39Z","closed_at":null,"body":"I would like to get the IdSvr to include some custom claims that are issued by our WsFederation STS\r\n\r\nI've followed the examples for role claims by adding to the scopes configuration as per the example - http://identityserver.github.io/Documentation/docs/overview/mvcGettingStarted.html\r\n\r\nAnd updating the client middleware config to request the \"roles\" scope and this works - Role claims issued by the WsFed endpoint back to IdSrv are passed onto the client\r\n\r\nWhen I tried to do the same for a custom claim (in our case a claim type of AccountId) in the same way - add a scope with name \"account\" of type Identity and a scope claim list that includes a new ScopeClaim with name AccountId its not included in the claims returned by the IdSvr to the client\r\n\r\nI've tried explicitly adding the claim in the Notifications in the WsFed configuration but no luck\r\n\r\nIt looks like I'm missing the config that tells IdSvr how to map that claim? - what am I missing?"}}