{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1330","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1330/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1330/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1330/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1330","id":74360220,"number":1330,"title":"(For Implicit Flow)Is it possible to get tenant value (already provided for authz endpoint) when requesting user profile endpoint ?","user":{"login":"sercangurbuz","id":5747927,"avatar_url":"https://avatars.githubusercontent.com/u/5747927?v=3","gravatar_id":"","url":"https://api.github.com/users/sercangurbuz","html_url":"https://github.com/sercangurbuz","followers_url":"https://api.github.com/users/sercangurbuz/followers","following_url":"https://api.github.com/users/sercangurbuz/following{/other_user}","gists_url":"https://api.github.com/users/sercangurbuz/gists{/gist_id}","starred_url":"https://api.github.com/users/sercangurbuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sercangurbuz/subscriptions","organizations_url":"https://api.github.com/users/sercangurbuz/orgs","repos_url":"https://api.github.com/users/sercangurbuz/repos","events_url":"https://api.github.com/users/sercangurbuz/events{/privacy}","received_events_url":"https://api.github.com/users/sercangurbuz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-08T13:16:44Z","updated_at":"2015-05-08T14:52:38Z","closed_at":null,"body":" public Task<IEnumerable<Claim>> GetProfileDataAsync(ClaimsPrincipal subject,\r\n            IEnumerable<string> requestedClaimTypes = null)\r\n        {\r\n//Here obtain the tenant value so that i can request to the correct account store\r\n}"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/100260770","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1330#issuecomment-100260770","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1330","id":100260770,"user":{"login":"sercangurbuz","id":5747927,"avatar_url":"https://avatars.githubusercontent.com/u/5747927?v=3","gravatar_id":"","url":"https://api.github.com/users/sercangurbuz","html_url":"https://github.com/sercangurbuz","followers_url":"https://api.github.com/users/sercangurbuz/followers","following_url":"https://api.github.com/users/sercangurbuz/following{/other_user}","gists_url":"https://api.github.com/users/sercangurbuz/gists{/gist_id}","starred_url":"https://api.github.com/users/sercangurbuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sercangurbuz/subscriptions","organizations_url":"https://api.github.com/users/sercangurbuz/orgs","repos_url":"https://api.github.com/users/sercangurbuz/repos","events_url":"https://api.github.com/users/sercangurbuz/events{/privacy}","received_events_url":"https://api.github.com/users/sercangurbuz/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T14:52:38Z","updated_at":"2015-05-08T14:52:38Z","body":"Thnks for the reply.I have experienced that GetProfileDataAsync is being called 3 times.First of two for generating id token and access token and third one is when requesting profile endpoint from client.However only sub claim is available in ClaimsIdentity when third one is getting called.\r\nAs you said,I added tenant value as a claim on AuthenticateResult returned from AuthenticateLocalAsync,however its only available in GetProfileDataAsync for token generating not requesting profile endpoint from client."}}