{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Docs/issues/7236","repository_url":"https://api.github.com/repos/aspnet/Docs","labels_url":"https://api.github.com/repos/aspnet/Docs/issues/7236/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/7236/comments","events_url":"https://api.github.com/repos/aspnet/Docs/issues/7236/events","html_url":"https://github.com/aspnet/Docs/issues/7236","id":334884251,"node_id":"MDU6SXNzdWUzMzQ4ODQyNTE=","number":7236,"title":"Cookie Policy Middleware in 2.X","user":{"login":"spottedmahn","id":14079228,"node_id":"MDQ6VXNlcjE0MDc5MjI4","avatar_url":"https://avatars0.githubusercontent.com/u/14079228?v=4","gravatar_id":"","url":"https://api.github.com/users/spottedmahn","html_url":"https://github.com/spottedmahn","followers_url":"https://api.github.com/users/spottedmahn/followers","following_url":"https://api.github.com/users/spottedmahn/following{/other_user}","gists_url":"https://api.github.com/users/spottedmahn/gists{/gist_id}","starred_url":"https://api.github.com/users/spottedmahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spottedmahn/subscriptions","organizations_url":"https://api.github.com/users/spottedmahn/orgs","repos_url":"https://api.github.com/users/spottedmahn/repos","events_url":"https://api.github.com/users/spottedmahn/events{/privacy}","received_events_url":"https://api.github.com/users/spottedmahn/received_events","type":"User","site_admin":false},"labels":[{"id":327110004,"node_id":"MDU6TGFiZWwzMjcxMTAwMDQ=","url":"https://api.github.com/repos/aspnet/Docs/labels/P2","name":"P2","color":"009800","default":false},{"id":918734558,"node_id":"MDU6TGFiZWw5MTg3MzQ1NTg=","url":"https://api.github.com/repos/aspnet/Docs/labels/Source%20-%20Docs.ms","name":"Source - Docs.ms","color":"77f966","default":false},{"id":943989428,"node_id":"MDU6TGFiZWw5NDM5ODk0Mjg=","url":"https://api.github.com/repos/aspnet/Docs/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"guardrex","id":1622880,"node_id":"MDQ6VXNlcjE2MjI4ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/1622880?v=4","gravatar_id":"","url":"https://api.github.com/users/guardrex","html_url":"https://github.com/guardrex","followers_url":"https://api.github.com/users/guardrex/followers","following_url":"https://api.github.com/users/guardrex/following{/other_user}","gists_url":"https://api.github.com/users/guardrex/gists{/gist_id}","starred_url":"https://api.github.com/users/guardrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardrex/subscriptions","organizations_url":"https://api.github.com/users/guardrex/orgs","repos_url":"https://api.github.com/users/guardrex/repos","events_url":"https://api.github.com/users/guardrex/events{/privacy}","received_events_url":"https://api.github.com/users/guardrex/received_events","type":"User","site_admin":false},"assignees":[{"login":"guardrex","id":1622880,"node_id":"MDQ6VXNlcjE2MjI4ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/1622880?v=4","gravatar_id":"","url":"https://api.github.com/users/guardrex","html_url":"https://github.com/guardrex","followers_url":"https://api.github.com/users/guardrex/followers","following_url":"https://api.github.com/users/guardrex/following{/other_user}","gists_url":"https://api.github.com/users/guardrex/gists{/gist_id}","starred_url":"https://api.github.com/users/guardrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardrex/subscriptions","organizations_url":"https://api.github.com/users/guardrex/orgs","repos_url":"https://api.github.com/users/guardrex/repos","events_url":"https://api.github.com/users/guardrex/events{/privacy}","received_events_url":"https://api.github.com/users/guardrex/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aspnet/Docs/milestones/4","html_url":"https://github.com/aspnet/Docs/milestone/4","labels_url":"https://api.github.com/repos/aspnet/Docs/milestones/4/labels","id":1356168,"node_id":"MDk6TWlsZXN0b25lMTM1NjE2OA==","number":4,"title":"Backlog","description":"Issues that have been triaged but aren’t yet scheduled. Issues not assigned to any milestone are those that have not been triaged.","creator":{"login":"danroth27","id":1874516,"node_id":"MDQ6VXNlcjE4NzQ1MTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1874516?v=4","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"open_issues":244,"closed_issues":304,"state":"open","created_at":"2015-10-14T20:43:26Z","updated_at":"2018-06-22T16:55:57Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-06-22T13:47:02Z","updated_at":"2018-06-22T16:55:57Z","closed_at":"2018-06-22T16:55:57Z","author_association":"CONTRIBUTOR","body":"I'm little confused on Configuration here... there's a section about what to do in `ConfigureServices()` then a section about what to do in `Configure()`.  Should I be performing both for a 2.1 app?\r\n\r\nAlso, when I tried using `app.UseCookieAuthentication()` in `Configure()` I got:\r\n\r\n> UseCookieAuthentication is obsolete. Configure Cookie authentication with AddAuthentication().AddCookie in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.\r\n\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: d2229fc6-f8c8-952e-e567-b1d5a463055a\r\n* Version Independent ID: b18a015b-914d-f014-f711-120d208904d9\r\n* Content: [Use cookie authentication without ASP.NET Core Identity](https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie?view=aspnetcore-2.1&tabs=aspnetcore2x)\r\n* Content Source: [aspnetcore/security/authentication/cookie.md](https://github.com/aspnet/Docs/blob/master/aspnetcore/security/authentication/cookie.md)\r\n* Product: **aspnet-core**\r\n* GitHub Login: @Rick-Anderson\r\n* Microsoft Alias: **riande**"},"comment":{"url":"https://api.github.com/repos/aspnet/Docs/issues/comments/399510168","html_url":"https://github.com/aspnet/Docs/issues/7236#issuecomment-399510168","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/7236","id":399510168,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTUxMDE2OA==","user":{"login":"spottedmahn","id":14079228,"node_id":"MDQ6VXNlcjE0MDc5MjI4","avatar_url":"https://avatars0.githubusercontent.com/u/14079228?v=4","gravatar_id":"","url":"https://api.github.com/users/spottedmahn","html_url":"https://github.com/spottedmahn","followers_url":"https://api.github.com/users/spottedmahn/followers","following_url":"https://api.github.com/users/spottedmahn/following{/other_user}","gists_url":"https://api.github.com/users/spottedmahn/gists{/gist_id}","starred_url":"https://api.github.com/users/spottedmahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spottedmahn/subscriptions","organizations_url":"https://api.github.com/users/spottedmahn/orgs","repos_url":"https://api.github.com/users/spottedmahn/repos","events_url":"https://api.github.com/users/spottedmahn/events{/privacy}","received_events_url":"https://api.github.com/users/spottedmahn/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T16:55:57Z","updated_at":"2018-06-22T16:55:57Z","author_association":"CONTRIBUTOR","body":">It only appears in the topic for 1.x tabs\r\n\r\nThat's right, my bad.  I must have thought I was on the 2.X tab and wasn't.  I see that now after re-reviewing.\r\n\r\nThanks for your super fast responses!! 🙏"}}
{"actor":{"display_login":"spottedmahn"}}