{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2329","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2329/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2329/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2329/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/2329","id":123369292,"number":2329,"title":"AntiForgeryConfig.UniqueClaimTypeIdentifier = \"sub\"; in Web Api secured by IdentityServer3?","user":{"login":"farzad99","id":16258460,"avatar_url":"https://avatars.githubusercontent.com/u/16258460?v=3","gravatar_id":"","url":"https://api.github.com/users/farzad99","html_url":"https://github.com/farzad99","followers_url":"https://api.github.com/users/farzad99/followers","following_url":"https://api.github.com/users/farzad99/following{/other_user}","gists_url":"https://api.github.com/users/farzad99/gists{/gist_id}","starred_url":"https://api.github.com/users/farzad99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farzad99/subscriptions","organizations_url":"https://api.github.com/users/farzad99/orgs","repos_url":"https://api.github.com/users/farzad99/repos","events_url":"https://api.github.com/users/farzad99/events{/privacy}","received_events_url":"https://api.github.com/users/farzad99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-21T22:10:09Z","updated_at":"2015-12-22T00:58:06Z","closed_at":null,"body":"If I use the following:\r\n\r\nJwtSecurityTokenHandler.InboundClaimTypeMap = new Dictionary<string, string>();\r\n\r\nin the Startup class of a web api project secured by IdentityServer3, do I need to have this line too?\r\n\r\nAntiForgeryConfig.UniqueClaimTypeIdentifier = \"sub\";"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/166469625","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/2329#issuecomment-166469625","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2329","id":166469625,"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":"2015-12-22T00:58:06Z","updated_at":"2015-12-22T00:58:06Z","body":"`AntiForgeryConfig.UniqueClaimTypeIdentifier` is for MVC when you use @Html.AntiForgertToken() and `[ValidateAntiForgeryToken]`."}}