{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/1100","labels_url":"https://api.github.com/repos/aspnet/Home/issues/1100/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/1100/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/1100/events","html_url":"https://github.com/aspnet/Home/issues/1100","id":117918771,"number":1100,"title":"ClaimsPrincipal Returns null on sequential calls with RC1-Final","user":{"login":"TheMadKow","id":5797896,"avatar_url":"https://avatars.githubusercontent.com/u/5797896?v=3","gravatar_id":"","url":"https://api.github.com/users/TheMadKow","html_url":"https://github.com/TheMadKow","followers_url":"https://api.github.com/users/TheMadKow/followers","following_url":"https://api.github.com/users/TheMadKow/following{/other_user}","gists_url":"https://api.github.com/users/TheMadKow/gists{/gist_id}","starred_url":"https://api.github.com/users/TheMadKow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheMadKow/subscriptions","organizations_url":"https://api.github.com/users/TheMadKow/orgs","repos_url":"https://api.github.com/users/TheMadKow/repos","events_url":"https://api.github.com/users/TheMadKow/events{/privacy}","received_events_url":"https://api.github.com/users/TheMadKow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T22:06:25Z","updated_at":"2015-11-20T17:11:42Z","closed_at":null,"body":"Hi,\r\nI got a partial code ControllerBase (Abstract Class) where i get the current user's ID and such.\r\nThe first call on the session goes well, but after some calls for the same/other controller, the ClaimsPrincipal is null. I'm using this code to search the full ApplicationUser object on the database from it's ID. \r\n\r\nFor Exapmle:\r\nUser.IsSignedIn() will return true on first call and false afterwards.\r\nUser.GetUserId() will return the GUID on the first call and null afterwards.\r\n\r\nThe issue arose on changing from BETA8 to RC1-Final.\r\nThanks\r\n\r\n\r\nTechnical:\r\n- Using Windows 10.\r\n- Using Latest VS Tooling for RC1.\r\n- Using x64 system.\r\n- Using 'StaticFiles' on startup.\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/158462649","html_url":"https://github.com/aspnet/Home/issues/1100#issuecomment-158462649","issue_url":"https://api.github.com/repos/aspnet/Home/issues/1100","id":158462649,"user":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T17:11:42Z","updated_at":"2015-11-20T17:11:42Z","body":"@TheMadKow yeah I'm not thinking it's browser or cookie related at all - this is all server code stuff. I'm just wondering if there's anything interesting in the startup, controller, project.json, etc."}}