{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1173","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1173/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1173/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1173/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1173","id":67607819,"number":1173,"title":"Custom ClaimsPrincipal","user":{"login":"henninga","id":239025,"avatar_url":"https://avatars.githubusercontent.com/u/239025?v=3","gravatar_id":"","url":"https://api.github.com/users/henninga","html_url":"https://github.com/henninga","followers_url":"https://api.github.com/users/henninga/followers","following_url":"https://api.github.com/users/henninga/following{/other_user}","gists_url":"https://api.github.com/users/henninga/gists{/gist_id}","starred_url":"https://api.github.com/users/henninga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henninga/subscriptions","organizations_url":"https://api.github.com/users/henninga/orgs","repos_url":"https://api.github.com/users/henninga/repos","events_url":"https://api.github.com/users/henninga/events{/privacy}","received_events_url":"https://api.github.com/users/henninga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-10T14:27:13Z","updated_at":"2015-04-10T14:51:40Z","closed_at":null,"body":"In one of our applications we set the Thread.CurrentPrincipal to a custom class we use which are set in a AuthorizationFilter. It would be to big of a rewrite right now, so as an intermediate solution I was think I could inherit from ClaimsPrincipal but I'm not sure where I'd set the new ClaimsPrincipal. It would probably work in the authz filter but it should probably be set deeper inside owin/katana?"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/91582110","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1173#issuecomment-91582110","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1173","id":91582110,"user":{"login":"henninga","id":239025,"avatar_url":"https://avatars.githubusercontent.com/u/239025?v=3","gravatar_id":"","url":"https://api.github.com/users/henninga","html_url":"https://github.com/henninga","followers_url":"https://api.github.com/users/henninga/followers","following_url":"https://api.github.com/users/henninga/following{/other_user}","gists_url":"https://api.github.com/users/henninga/gists{/gist_id}","starred_url":"https://api.github.com/users/henninga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henninga/subscriptions","organizations_url":"https://api.github.com/users/henninga/orgs","repos_url":"https://api.github.com/users/henninga/repos","events_url":"https://api.github.com/users/henninga/events{/privacy}","received_events_url":"https://api.github.com/users/henninga/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T14:51:40Z","updated_at":"2015-04-10T14:51:40Z","body":"Just a question of where I should set a custom ClaimsPrincipal in the client"}}