{"action":"created","issue":{"url":"https://api.github.com/repos/bertho-zero/react-redux-universal-hot-example/issues/421","repository_url":"https://api.github.com/repos/bertho-zero/react-redux-universal-hot-example","labels_url":"https://api.github.com/repos/bertho-zero/react-redux-universal-hot-example/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/bertho-zero/react-redux-universal-hot-example/issues/421/comments","events_url":"https://api.github.com/repos/bertho-zero/react-redux-universal-hot-example/issues/421/events","html_url":"https://github.com/bertho-zero/react-redux-universal-hot-example/issues/421","id":317456299,"number":421,"title":"Login before redirect to page content","user":{"login":"Trung1704","id":25172908,"avatar_url":"https://avatars1.githubusercontent.com/u/25172908?v=4","gravatar_id":"","url":"https://api.github.com/users/Trung1704","html_url":"https://github.com/Trung1704","followers_url":"https://api.github.com/users/Trung1704/followers","following_url":"https://api.github.com/users/Trung1704/following{/other_user}","gists_url":"https://api.github.com/users/Trung1704/gists{/gist_id}","starred_url":"https://api.github.com/users/Trung1704/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trung1704/subscriptions","organizations_url":"https://api.github.com/users/Trung1704/orgs","repos_url":"https://api.github.com/users/Trung1704/repos","events_url":"https://api.github.com/users/Trung1704/events{/privacy}","received_events_url":"https://api.github.com/users/Trung1704/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T02:14:13Z","updated_at":"2018-04-30T07:56:24Z","closed_at":null,"author_association":"NONE","body":"I want to require the user login before redirect to page content. So how can I set the login first in route, because in route you used the array of route. I cannot manage this router. Please show me the solutions"},"comment":{"url":"https://api.github.com/repos/bertho-zero/react-redux-universal-hot-example/issues/comments/385333123","html_url":"https://github.com/bertho-zero/react-redux-universal-hot-example/issues/421#issuecomment-385333123","issue_url":"https://api.github.com/repos/bertho-zero/react-redux-universal-hot-example/issues/421","id":385333123,"user":{"login":"synchu","id":8023987,"avatar_url":"https://avatars1.githubusercontent.com/u/8023987?v=4","gravatar_id":"","url":"https://api.github.com/users/synchu","html_url":"https://github.com/synchu","followers_url":"https://api.github.com/users/synchu/followers","following_url":"https://api.github.com/users/synchu/following{/other_user}","gists_url":"https://api.github.com/users/synchu/gists{/gist_id}","starred_url":"https://api.github.com/users/synchu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synchu/subscriptions","organizations_url":"https://api.github.com/users/synchu/orgs","repos_url":"https://api.github.com/users/synchu/repos","events_url":"https://api.github.com/users/synchu/events{/privacy}","received_events_url":"https://api.github.com/users/synchu/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T07:56:24Z","updated_at":"2018-04-30T07:56:24Z","author_association":"NONE","body":"I am not sure that I understand your question entirely, however, in src/routes.js there is **IsAuthenticated** function that verifies the user is logged in.\r\nThen you simply wrap the component for the routed with that function.\r\nSee **const routes** definition in the same file."}}
{"actor":{"display_login":"synchu"}}