{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2924","repository_url":"https://api.github.com/repos/IdentityServer/IdentityServer3","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2924/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2924/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2924/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/2924","id":156792457,"number":2924,"title":"Access requested scopes in GetProfileDataAsync() ","user":{"login":"sudipster","id":552090,"avatar_url":"https://avatars.githubusercontent.com/u/552090?v=3","gravatar_id":"","url":"https://api.github.com/users/sudipster","html_url":"https://github.com/sudipster","followers_url":"https://api.github.com/users/sudipster/followers","following_url":"https://api.github.com/users/sudipster/following{/other_user}","gists_url":"https://api.github.com/users/sudipster/gists{/gist_id}","starred_url":"https://api.github.com/users/sudipster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudipster/subscriptions","organizations_url":"https://api.github.com/users/sudipster/orgs","repos_url":"https://api.github.com/users/sudipster/repos","events_url":"https://api.github.com/users/sudipster/events{/privacy}","received_events_url":"https://api.github.com/users/sudipster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-25T16:19:42Z","updated_at":"2016-05-25T16:55:21Z","closed_at":null,"body":"- [x] I read and understood how to enable [logging](https://identityserver.github.io/Documentation/docsv2/configuration/logging.html)\r\n\r\n### Question / Issue\r\nThis may/may not make sense but there could be cases where a client may not request all the scopes he is allowed to in the ids. I can access the allowed ones via context.Client.AllowedScopes, but I would like to access requested scopes by the application in GetProfileDataAsync() so that I could only build those claims relevant to those scopes.  Is it possible to do so?\r\n\r\n\r\n### Relevant parts of the log file\r\n\r\n```\r\n<log goes here>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/221638305","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/2924#issuecomment-221638305","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2924","id":221638305,"user":{"login":"brockallen","id":649492,"avatar_url":"https://avatars.githubusercontent.com/u/649492?v=3","gravatar_id":"","url":"https://api.github.com/users/brockallen","html_url":"https://github.com/brockallen","followers_url":"https://api.github.com/users/brockallen/followers","following_url":"https://api.github.com/users/brockallen/following{/other_user}","gists_url":"https://api.github.com/users/brockallen/gists{/gist_id}","starred_url":"https://api.github.com/users/brockallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brockallen/subscriptions","organizations_url":"https://api.github.com/users/brockallen/orgs","repos_url":"https://api.github.com/users/brockallen/repos","events_url":"https://api.github.com/users/brockallen/events{/privacy}","received_events_url":"https://api.github.com/users/brockallen/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T16:55:21Z","updated_at":"2016-05-25T16:55:21Z","body":"That's what the `RequestedClaimTypes` in the `ProfileDataRequestContext` are for."}}
{"actor":{"display_login":"brockallen"}}