{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Identity/issues/1612","repository_url":"https://api.github.com/repos/aspnet/Identity","labels_url":"https://api.github.com/repos/aspnet/Identity/issues/1612/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Identity/issues/1612/comments","events_url":"https://api.github.com/repos/aspnet/Identity/issues/1612/events","html_url":"https://github.com/aspnet/Identity/issues/1612","id":293653935,"number":1612,"title":"Cookie expiration always set to Session","user":{"login":"robfarmergt","id":4447784,"avatar_url":"https://avatars1.githubusercontent.com/u/4447784?v=4","gravatar_id":"","url":"https://api.github.com/users/robfarmergt","html_url":"https://github.com/robfarmergt","followers_url":"https://api.github.com/users/robfarmergt/followers","following_url":"https://api.github.com/users/robfarmergt/following{/other_user}","gists_url":"https://api.github.com/users/robfarmergt/gists{/gist_id}","starred_url":"https://api.github.com/users/robfarmergt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfarmergt/subscriptions","organizations_url":"https://api.github.com/users/robfarmergt/orgs","repos_url":"https://api.github.com/users/robfarmergt/repos","events_url":"https://api.github.com/users/robfarmergt/events{/privacy}","received_events_url":"https://api.github.com/users/robfarmergt/received_events","type":"User","site_admin":false},"labels":[{"id":78495344,"url":"https://api.github.com/repos/aspnet/Identity/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-01T19:27:19Z","updated_at":"2018-02-03T18:17:42Z","closed_at":null,"author_association":"NONE","body":"Seems like the Identity application cookie is always set to `Session` even when the expiration TimeSpan is set. I'm using .NET Core 2.0.\r\n\r\n```\r\nservices.ConfigureApplicationCookie(options =>\r\n    {\r\n        // Cookie settings\r\n        options.Cookie.HttpOnly = true;\r\n        options.Cookie.SecurePolicy = MyAppConfig.Secure ? CookieSecurePolicy.Always : CookieSecurePolicy.None;\r\n        options.Cookie.Name = \"IbIdentity\";\r\n        options.Cookie.Expiration = TimeSpan.FromMinutes(30);\r\n        options.ExpireTimeSpan = TimeSpan.FromMinutes(30);\r\n        options.SlidingExpiration = true;\r\n    });\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/Identity/issues/comments/362841952","html_url":"https://github.com/aspnet/Identity/issues/1612#issuecomment-362841952","issue_url":"https://api.github.com/repos/aspnet/Identity/issues/1612","id":362841952,"user":{"login":"HaoK","id":6537861,"avatar_url":"https://avatars2.githubusercontent.com/u/6537861?v=4","gravatar_id":"","url":"https://api.github.com/users/HaoK","html_url":"https://github.com/HaoK","followers_url":"https://api.github.com/users/HaoK/followers","following_url":"https://api.github.com/users/HaoK/following{/other_user}","gists_url":"https://api.github.com/users/HaoK/gists{/gist_id}","starred_url":"https://api.github.com/users/HaoK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaoK/subscriptions","organizations_url":"https://api.github.com/users/HaoK/orgs","repos_url":"https://api.github.com/users/HaoK/repos","events_url":"https://api.github.com/users/HaoK/events{/privacy}","received_events_url":"https://api.github.com/users/HaoK/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T18:17:42Z","updated_at":"2018-02-03T18:17:42Z","author_association":"MEMBER","body":"Yeah options.SlidingExpiration  = true and options.ExpireTimeSpan "}}
{"actor":{"display_login":"HaoK"}}