{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1670","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1670/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1670/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1670/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1670","id":98114520,"number":1670,"title":"After application restart I'm logged into my Client Application but not in IdentityServer","user":{"login":"pawepaw","id":11609029,"avatar_url":"https://avatars.githubusercontent.com/u/11609029?v=3","gravatar_id":"","url":"https://api.github.com/users/pawepaw","html_url":"https://github.com/pawepaw","followers_url":"https://api.github.com/users/pawepaw/followers","following_url":"https://api.github.com/users/pawepaw/following{/other_user}","gists_url":"https://api.github.com/users/pawepaw/gists{/gist_id}","starred_url":"https://api.github.com/users/pawepaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawepaw/subscriptions","organizations_url":"https://api.github.com/users/pawepaw/orgs","repos_url":"https://api.github.com/users/pawepaw/repos","events_url":"https://api.github.com/users/pawepaw/events{/privacy}","received_events_url":"https://api.github.com/users/pawepaw/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":10,"created_at":"2015-07-30T08:43:13Z","updated_at":"2015-08-14T07:08:03Z","closed_at":null,"body":"Hello,\r\n\r\nAfter application restart I'm logged into my client application but not in identity server. I'm authorized into my client application using cookie. I know that identityServer also uses cookie but probably there is also something (session state or something?) stored in memory on IdentityServer so after application restart I'm not authorized.\r\n\r\nIt might be a problem in production enviroment."},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/131000391","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1670#issuecomment-131000391","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1670","id":131000391,"user":{"login":"pawepaw","id":11609029,"avatar_url":"https://avatars.githubusercontent.com/u/11609029?v=3","gravatar_id":"","url":"https://api.github.com/users/pawepaw","html_url":"https://github.com/pawepaw","followers_url":"https://api.github.com/users/pawepaw/followers","following_url":"https://api.github.com/users/pawepaw/following{/other_user}","gists_url":"https://api.github.com/users/pawepaw/gists{/gist_id}","starred_url":"https://api.github.com/users/pawepaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawepaw/subscriptions","organizations_url":"https://api.github.com/users/pawepaw/orgs","repos_url":"https://api.github.com/users/pawepaw/repos","events_url":"https://api.github.com/users/pawepaw/events{/privacy}","received_events_url":"https://api.github.com/users/pawepaw/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T07:08:03Z","updated_at":"2015-08-14T07:08:03Z","body":"Yes there is idsrv cookie and i got error \"login_required\" on javascript silent token renew. About machine key issue, did you mean that after recycle i\r\n\r\nI am not sure about reproduction steps but from what I observed it's something like this:\r\n\r\n1. User is logged in into ASP.NET MVC IdentityServer client\r\n2. Separate javascript client on the same page calls silent token renew (with success).\r\n3. Application deployment occurs.\r\n4. User is still logged in into MVC client and Idsrv cookie exists.\r\n5. javascript client tries to call silent token renew (with failure - login_required error). \r\n\r\nIdentityServer and MVC Client are hosted on the same machine and I don't have webfarm. There is only one IdentityServer instance. \r\n\r\nMachine key setting - AutoGenerate,IsolateApps"}}