{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Docs/issues/9638","repository_url":"https://api.github.com/repos/aspnet/Docs","labels_url":"https://api.github.com/repos/aspnet/Docs/issues/9638/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/9638/comments","events_url":"https://api.github.com/repos/aspnet/Docs/issues/9638/events","html_url":"https://github.com/aspnet/Docs/issues/9638","id":382125108,"node_id":"MDU6SXNzdWUzODIxMjUxMDg=","number":9638,"title":"Redirection to the log-in page after successful log-in","user":{"login":"sheikh-nouman","id":14904949,"node_id":"MDQ6VXNlcjE0OTA0OTQ5","avatar_url":"https://avatars1.githubusercontent.com/u/14904949?v=4","gravatar_id":"","url":"https://api.github.com/users/sheikh-nouman","html_url":"https://github.com/sheikh-nouman","followers_url":"https://api.github.com/users/sheikh-nouman/followers","following_url":"https://api.github.com/users/sheikh-nouman/following{/other_user}","gists_url":"https://api.github.com/users/sheikh-nouman/gists{/gist_id}","starred_url":"https://api.github.com/users/sheikh-nouman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheikh-nouman/subscriptions","organizations_url":"https://api.github.com/users/sheikh-nouman/orgs","repos_url":"https://api.github.com/users/sheikh-nouman/repos","events_url":"https://api.github.com/users/sheikh-nouman/events{/privacy}","received_events_url":"https://api.github.com/users/sheikh-nouman/received_events","type":"User","site_admin":false},"labels":[{"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}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-19T09:28:30Z","updated_at":"2018-11-27T22:18:44Z","closed_at":null,"author_association":"NONE","body":"I am using this sample as is but it fails to redirect to the contact page after authentication.\n\nDownloaded the sample, ran and opened Contact info page.\nIt directs me to the log-in page and as I enter the credentials and press enter it opens the log-in page again. \n\nI debugged and verified if it logged-in or not. It did, it authenticated user principal with it's claims but is redirected again to the log-in page.\nI am using:\nVS 2017\nAsp.net core 2.1\nRazor pages\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: d2229fc6-f8c8-952e-e567-b1d5a463055a\n* Version Independent ID: b18a015b-914d-f014-f711-120d208904d9\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)\n* Content Source: [aspnetcore/security/authentication/cookie.md](https://github.com/aspnet/Docs/blob/master/aspnetcore/security/authentication/cookie.md)\n* Product: **aspnet-core**\n* GitHub Login: @Rick-Anderson\n* Microsoft Alias: **riande**"},"comment":{"url":"https://api.github.com/repos/aspnet/Docs/issues/comments/442239479","html_url":"https://github.com/aspnet/Docs/issues/9638#issuecomment-442239479","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/9638","id":442239479,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjIzOTQ3OQ==","user":{"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},"created_at":"2018-11-27T22:18:44Z","updated_at":"2018-11-27T22:18:44Z","author_association":"COLLABORATOR","body":"@sheikh-nouman I'm not able to repro that here ... I went to the Contact page, was redirected to the login, logged in, and was redirected to the Contact page. It seems ok here ...\r\n\r\n<img width=\"182\" alt=\"capture\" src=\"https://user-images.githubusercontent.com/1622880/49115240-e30e9a00-f25f-11e8-97b4-ca63c56243f7.PNG\">\r\n\r\nSeems ok. Did you use the login username of `maria.rodriguez@contoso.com` with any password?"}}
{"actor":{"display_login":"guardrex"}}