{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/464","repository_url":"https://api.github.com/repos/IdentityServer/IdentityServer4","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/464/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/464/events","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/464","id":187450707,"number":464,"title":"Claim isnt being returned to mvc client","user":{"login":"ebarbuti","id":22989114,"avatar_url":"https://avatars.githubusercontent.com/u/22989114?v=3","gravatar_id":"","url":"https://api.github.com/users/ebarbuti","html_url":"https://github.com/ebarbuti","followers_url":"https://api.github.com/users/ebarbuti/followers","following_url":"https://api.github.com/users/ebarbuti/following{/other_user}","gists_url":"https://api.github.com/users/ebarbuti/gists{/gist_id}","starred_url":"https://api.github.com/users/ebarbuti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebarbuti/subscriptions","organizations_url":"https://api.github.com/users/ebarbuti/orgs","repos_url":"https://api.github.com/users/ebarbuti/repos","events_url":"https://api.github.com/users/ebarbuti/events{/privacy}","received_events_url":"https://api.github.com/users/ebarbuti/received_events","type":"User","site_admin":false},"labels":[{"id":290038719,"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-04T22:19:45Z","updated_at":"2016-11-07T15:02:19Z","closed_at":null,"body":"In ResourceOwnerPasswordvalidator I create a GrantValidationResult with a claim...\r\n\r\nGrantValidationResult grGood = new GrantValidationResult(context.UserName, context.Password, new[] { new Claim(\"profile\", res) });\r\n\r\nWhen its returned from await _validator.ValidateAsync(ctx); I can see its there...\r\n\r\nWhen i put a break in GetProfileDataAsync in my ProfileService i can see its there...\r\n\r\n        public Task GetProfileDataAsync(ProfileDataRequestContext context)\r\n        {\r\n            var claims = context.Subject.Claims.Select(claim => new Claim(claim.Type, claim.Value, claim.ValueType, claim.Issuer, claim.OriginalIssuer, claim.Subject)).ToList();\r\n            context.IssuedClaims = claims;\r\n            return Task.FromResult(0);            \r\n        }\r\n\r\nWhen I redirect to my client and loop thru the User.Claims... its not there...\r\n\r\nCan you give me any clue as to what may be happening here?\r\nThanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/comments/258858828","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/464#issuecomment-258858828","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/464","id":258858828,"user":{"login":"leastprivilege","id":1454075,"avatar_url":"https://avatars.githubusercontent.com/u/1454075?v=3","gravatar_id":"","url":"https://api.github.com/users/leastprivilege","html_url":"https://github.com/leastprivilege","followers_url":"https://api.github.com/users/leastprivilege/followers","following_url":"https://api.github.com/users/leastprivilege/following{/other_user}","gists_url":"https://api.github.com/users/leastprivilege/gists{/gist_id}","starred_url":"https://api.github.com/users/leastprivilege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leastprivilege/subscriptions","organizations_url":"https://api.github.com/users/leastprivilege/orgs","repos_url":"https://api.github.com/users/leastprivilege/repos","events_url":"https://api.github.com/users/leastprivilege/events{/privacy}","received_events_url":"https://api.github.com/users/leastprivilege/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T15:02:19Z","updated_at":"2016-11-07T15:02:19Z","body":"I still don't follow.\r\n\r\nResource owner flow is unrelated to all of that. It is a web api call that returns an access token...\r\n\r\nAm I missing something?"}}
{"actor":{"display_login":"leastprivilege"}}