{"action":"created","issue":{"url":"https://api.github.com/repos/scotch-io/easy-node-authentication/issues/32","repository_url":"https://api.github.com/repos/scotch-io/easy-node-authentication","labels_url":"https://api.github.com/repos/scotch-io/easy-node-authentication/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/scotch-io/easy-node-authentication/issues/32/comments","events_url":"https://api.github.com/repos/scotch-io/easy-node-authentication/issues/32/events","html_url":"https://github.com/scotch-io/easy-node-authentication/issues/32","id":160350280,"number":32,"title":"Why app.get('/profile' ? Why /profile page at all?","user":{"login":"wzup","id":3880497,"avatar_url":"https://avatars.githubusercontent.com/u/3880497?v=3","gravatar_id":"","url":"https://api.github.com/users/wzup","html_url":"https://github.com/wzup","followers_url":"https://api.github.com/users/wzup/followers","following_url":"https://api.github.com/users/wzup/following{/other_user}","gists_url":"https://api.github.com/users/wzup/gists{/gist_id}","starred_url":"https://api.github.com/users/wzup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzup/subscriptions","organizations_url":"https://api.github.com/users/wzup/orgs","repos_url":"https://api.github.com/users/wzup/repos","events_url":"https://api.github.com/users/wzup/events{/privacy}","received_events_url":"https://api.github.com/users/wzup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-15T06:50:25Z","updated_at":"2016-07-29T13:54:03Z","closed_at":null,"body":"I wonder why do you make so inconvenient design? \r\nDo FB, Amazon, Ebay, any modern sites have some special dedicated pages to get you to your profile?\r\nIf you were loged in, you just follow `facebook.com` (not `facebook.com/profile` or smth !!) and simply get to your members restricted area.\r\nWhy do you make up some useless `/profile` routes?"},"comment":{"url":"https://api.github.com/repos/scotch-io/easy-node-authentication/issues/comments/236186248","html_url":"https://github.com/scotch-io/easy-node-authentication/issues/32#issuecomment-236186248","issue_url":"https://api.github.com/repos/scotch-io/easy-node-authentication/issues/32","id":236186248,"user":{"login":"mbt-jeremy-r","id":20282839,"avatar_url":"https://avatars.githubusercontent.com/u/20282839?v=3","gravatar_id":"","url":"https://api.github.com/users/mbt-jeremy-r","html_url":"https://github.com/mbt-jeremy-r","followers_url":"https://api.github.com/users/mbt-jeremy-r/followers","following_url":"https://api.github.com/users/mbt-jeremy-r/following{/other_user}","gists_url":"https://api.github.com/users/mbt-jeremy-r/gists{/gist_id}","starred_url":"https://api.github.com/users/mbt-jeremy-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbt-jeremy-r/subscriptions","organizations_url":"https://api.github.com/users/mbt-jeremy-r/orgs","repos_url":"https://api.github.com/users/mbt-jeremy-r/repos","events_url":"https://api.github.com/users/mbt-jeremy-r/events{/privacy}","received_events_url":"https://api.github.com/users/mbt-jeremy-r/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T13:54:03Z","updated_at":"2016-07-29T13:54:03Z","body":"@wzup : Because it isn't meant to be a full fledged website like facebook, but a example app to understand Passport and OAuth. And `/profile` is meant to show you the differents key from fb, github... so that you can try and experiment.\r\nAnd since the example show you how to handle different cases on auth fail, you can easily render a different page on `/` depending of the status of the user."}}
{"actor":{"display_login":"mbt-jeremy-r"}}