{"action":"opened","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/581","repository_url":"https://api.github.com/repos/IdentityServer/IdentityServer4","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/581/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/581/events","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/581","id":195329864,"number":581,"title":"RC5 broke support for \"roles\" claim?","user":{"login":"khelben","id":65621,"avatar_url":"https://avatars.githubusercontent.com/u/65621?v=3","gravatar_id":"","url":"https://api.github.com/users/khelben","html_url":"https://github.com/khelben","followers_url":"https://api.github.com/users/khelben/followers","following_url":"https://api.github.com/users/khelben/following{/other_user}","gists_url":"https://api.github.com/users/khelben/gists{/gist_id}","starred_url":"https://api.github.com/users/khelben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khelben/subscriptions","organizations_url":"https://api.github.com/users/khelben/orgs","repos_url":"https://api.github.com/users/khelben/repos","events_url":"https://api.github.com/users/khelben/events{/privacy}","received_events_url":"https://api.github.com/users/khelben/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-13T18:22:24Z","updated_at":"2016-12-13T18:22:24Z","closed_at":null,"body":"Hi,\r\n\r\nI've updated my application from rc3 to rc5.  I've implemented a custom `IResourceStore` (which is actually the same implementation of the `InMemoryResourcesStore`.\r\n\r\nI've replaced the existing scopes from rc3 \r\n```\r\n                StandardScopes.OpenId,\r\n                StandardScopes.ProfileAlwaysInclude,\r\n                StandardScopes.EmailAlwaysInclude,\r\n                StandardScopes.OfflineAccess,\r\n                StandardScopes.RolesAlwaysInclude\r\n```\r\n\r\nby identity resources\r\n\r\n```\r\n        private IEnumerable<IdentityResource> GetPredefinedIdentityResources()\r\n        {\r\n            yield return new IdentityResources.OpenId();\r\n            yield return new IdentityResources.Profile();\r\n            yield return new IdentityResources.Email();\r\n            yield return new IdentityResource(\"roles\", \"Identity roles\", new []{JwtClaimTypes.Role});\r\n        }\r\n```\r\n\r\n(as a side note, I find it strange that there's no predefined IdentityResource for *roles*)\r\n\r\nThis should be enough I queuss, but with RC5 the roles claims are not returned in the id_token, which was the case with RC3.\r\n\r\nAm I missing something here?\r\n\r\nKind regards,\r\n\r\nChristiaan"}}
{"actor":{"display_login":"khelben"}}