{"action":"closed","number":57,"pull_request":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/pulls/57","id":62860826,"html_url":"https://github.com/IdentityServer/IdentityServer4/pull/57","diff_url":"https://github.com/IdentityServer/IdentityServer4/pull/57.diff","patch_url":"https://github.com/IdentityServer/IdentityServer4/pull/57.patch","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/57","number":57,"state":"closed","locked":false,"title":"Convert the JSON ScopesString into seperate claims","user":{"login":"smallplanet-it","id":17230052,"avatar_url":"https://avatars.githubusercontent.com/u/17230052?v=3","gravatar_id":"","url":"https://api.github.com/users/smallplanet-it","html_url":"https://github.com/smallplanet-it","followers_url":"https://api.github.com/users/smallplanet-it/followers","following_url":"https://api.github.com/users/smallplanet-it/following{/other_user}","gists_url":"https://api.github.com/users/smallplanet-it/gists{/gist_id}","starred_url":"https://api.github.com/users/smallplanet-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smallplanet-it/subscriptions","organizations_url":"https://api.github.com/users/smallplanet-it/orgs","repos_url":"https://api.github.com/users/smallplanet-it/repos","events_url":"https://api.github.com/users/smallplanet-it/events{/privacy}","received_events_url":"https://api.github.com/users/smallplanet-it/received_events","type":"User","site_admin":false},"body":"I noticed a strange, in my opinion wrong behavior in the TokenValidator class.\r\nLet’s say you have requested a valid access_token with more than one scope, for example „openid“, „profile“, „email“ and „api1“\r\n\r\nThe convert of the JSON ScopesString into seperate claims is not correctly implemented. As it is at the moment it works only if you have an access_token with only one „openid“ scope.\r\n\r\n","created_at":"2016-03-15T06:30:44Z","updated_at":"2016-06-28T06:32:45Z","closed_at":"2016-06-28T06:32:45Z","merged_at":null,"merge_commit_sha":"c0be33b44efb96da0094bed925b1973d8b3cc559","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/pulls/57/commits","review_comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/pulls/57/comments","review_comment_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/57/comments","statuses_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/statuses/7901f4a7e459a100f8ef84ee658cfc129711fee2","head":{"label":"smallplanet-it:dev","ref":"dev","sha":"7901f4a7e459a100f8ef84ee658cfc129711fee2","user":{"login":"smallplanet-it","id":17230052,"avatar_url":"https://avatars.githubusercontent.com/u/17230052?v=3","gravatar_id":"","url":"https://api.github.com/users/smallplanet-it","html_url":"https://github.com/smallplanet-it","followers_url":"https://api.github.com/users/smallplanet-it/followers","following_url":"https://api.github.com/users/smallplanet-it/following{/other_user}","gists_url":"https://api.github.com/users/smallplanet-it/gists{/gist_id}","starred_url":"https://api.github.com/users/smallplanet-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smallplanet-it/subscriptions","organizations_url":"https://api.github.com/users/smallplanet-it/orgs","repos_url":"https://api.github.com/users/smallplanet-it/repos","events_url":"https://api.github.com/users/smallplanet-it/events{/privacy}","received_events_url":"https://api.github.com/users/smallplanet-it/received_events","type":"User","site_admin":false},"repo":{"id":52252301,"name":"IdentityServer4","full_name":"smallplanet-it/IdentityServer4","owner":{"login":"smallplanet-it","id":17230052,"avatar_url":"https://avatars.githubusercontent.com/u/17230052?v=3","gravatar_id":"","url":"https://api.github.com/users/smallplanet-it","html_url":"https://github.com/smallplanet-it","followers_url":"https://api.github.com/users/smallplanet-it/followers","following_url":"https://api.github.com/users/smallplanet-it/following{/other_user}","gists_url":"https://api.github.com/users/smallplanet-it/gists{/gist_id}","starred_url":"https://api.github.com/users/smallplanet-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smallplanet-it/subscriptions","organizations_url":"https://api.github.com/users/smallplanet-it/orgs","repos_url":"https://api.github.com/users/smallplanet-it/repos","events_url":"https://api.github.com/users/smallplanet-it/events{/privacy}","received_events_url":"https://api.github.com/users/smallplanet-it/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smallplanet-it/IdentityServer4","description":"IdentityServer for ASP.NET Core 1.0","fork":true,"url":"https://api.github.com/repos/smallplanet-it/IdentityServer4","forks_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/forks","keys_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/teams","hooks_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/hooks","issue_events_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/issues/events{/number}","events_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/events","assignees_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/assignees{/user}","branches_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/branches{/branch}","tags_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/tags","blobs_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/git/refs{/sha}","trees_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/statuses/{sha}","languages_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/languages","stargazers_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/stargazers","contributors_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/contributors","subscribers_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/subscribers","subscription_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/subscription","commits_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/commits{/sha}","git_commits_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/git/commits{/sha}","comments_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/comments{/number}","issue_comment_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/issues/comments{/number}","contents_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/contents/{+path}","compare_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/merges","archive_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/downloads","issues_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/issues{/number}","pulls_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/pulls{/number}","milestones_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/milestones{/number}","notifications_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/labels{/name}","releases_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/releases{/id}","deployments_url":"https://api.github.com/repos/smallplanet-it/IdentityServer4/deployments","created_at":"2016-02-22T06:34:58Z","updated_at":"2016-02-22T06:35:00Z","pushed_at":"2016-03-15T06:33:08Z","git_url":"git://github.com/smallplanet-it/IdentityServer4.git","ssh_url":"git@github.com:smallplanet-it/IdentityServer4.git","clone_url":"https://github.com/smallplanet-it/IdentityServer4.git","svn_url":"https://github.com/smallplanet-it/IdentityServer4","homepage":"","size":1221,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"IdentityServer:dev","ref":"dev","sha":"00f3e81de2885d2e6902ca831adc287b5ee81b74","user":{"login":"IdentityServer","id":10635672,"avatar_url":"https://avatars.githubusercontent.com/u/10635672?v=3","gravatar_id":"","url":"https://api.github.com/users/IdentityServer","html_url":"https://github.com/IdentityServer","followers_url":"https://api.github.com/users/IdentityServer/followers","following_url":"https://api.github.com/users/IdentityServer/following{/other_user}","gists_url":"https://api.github.com/users/IdentityServer/gists{/gist_id}","starred_url":"https://api.github.com/users/IdentityServer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdentityServer/subscriptions","organizations_url":"https://api.github.com/users/IdentityServer/orgs","repos_url":"https://api.github.com/users/IdentityServer/repos","events_url":"https://api.github.com/users/IdentityServer/events{/privacy}","received_events_url":"https://api.github.com/users/IdentityServer/received_events","type":"Organization","site_admin":false},"repo":{"id":46652227,"name":"IdentityServer4","full_name":"IdentityServer/IdentityServer4","owner":{"login":"IdentityServer","id":10635672,"avatar_url":"https://avatars.githubusercontent.com/u/10635672?v=3","gravatar_id":"","url":"https://api.github.com/users/IdentityServer","html_url":"https://github.com/IdentityServer","followers_url":"https://api.github.com/users/IdentityServer/followers","following_url":"https://api.github.com/users/IdentityServer/following{/other_user}","gists_url":"https://api.github.com/users/IdentityServer/gists{/gist_id}","starred_url":"https://api.github.com/users/IdentityServer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdentityServer/subscriptions","organizations_url":"https://api.github.com/users/IdentityServer/orgs","repos_url":"https://api.github.com/users/IdentityServer/repos","events_url":"https://api.github.com/users/IdentityServer/events{/privacy}","received_events_url":"https://api.github.com/users/IdentityServer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IdentityServer/IdentityServer4","description":"IdentityServer for ASP.NET Core 1.0","fork":false,"url":"https://api.github.com/repos/IdentityServer/IdentityServer4","forks_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/forks","keys_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/teams","hooks_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/hooks","issue_events_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/events{/number}","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/events","assignees_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/assignees{/user}","branches_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/branches{/branch}","tags_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/tags","blobs_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/git/refs{/sha}","trees_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/statuses/{sha}","languages_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/languages","stargazers_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/stargazers","contributors_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/contributors","subscribers_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/subscribers","subscription_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/subscription","commits_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/commits{/sha}","git_commits_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/git/commits{/sha}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/comments{/number}","issue_comment_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/comments{/number}","contents_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/contents/{+path}","compare_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/merges","archive_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/downloads","issues_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues{/number}","pulls_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/pulls{/number}","milestones_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/milestones{/number}","notifications_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/labels{/name}","releases_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/releases{/id}","deployments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/deployments","created_at":"2015-11-22T08:21:58Z","updated_at":"2016-06-28T00:31:02Z","pushed_at":"2016-06-28T06:01:18Z","git_url":"git://github.com/IdentityServer/IdentityServer4.git","ssh_url":"git@github.com:IdentityServer/IdentityServer4.git","clone_url":"https://github.com/IdentityServer/IdentityServer4.git","svn_url":"https://github.com/IdentityServer/IdentityServer4","homepage":"","size":1583,"stargazers_count":382,"watchers_count":382,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":36,"forks":94,"open_issues":36,"watchers":382,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/IdentityServer/IdentityServer4/pulls/57"},"html":{"href":"https://github.com/IdentityServer/IdentityServer4/pull/57"},"issue":{"href":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/57"},"comments":{"href":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/IdentityServer/IdentityServer4/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/IdentityServer/IdentityServer4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IdentityServer/IdentityServer4/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/IdentityServer/IdentityServer4/statuses/7901f4a7e459a100f8ef84ee658cfc129711fee2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":2,"additions":40,"deletions":11,"changed_files":3}}
{"actor":{"display_login":"leastprivilege"}}