{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/155","repository_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example","labels_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/155/comments","events_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/155/events","html_url":"https://github.com/erikras/react-redux-universal-hot-example/issues/155","id":104138795,"number":155,"title":"Hookup to passport?","user":{"login":"martinwells","id":1703064,"avatar_url":"https://avatars.githubusercontent.com/u/1703064?v=3","gravatar_id":"","url":"https://api.github.com/users/martinwells","html_url":"https://github.com/martinwells","followers_url":"https://api.github.com/users/martinwells/followers","following_url":"https://api.github.com/users/martinwells/following{/other_user}","gists_url":"https://api.github.com/users/martinwells/gists{/gist_id}","starred_url":"https://api.github.com/users/martinwells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinwells/subscriptions","organizations_url":"https://api.github.com/users/martinwells/orgs","repos_url":"https://api.github.com/users/martinwells/repos","events_url":"https://api.github.com/users/martinwells/events{/privacy}","received_events_url":"https://api.github.com/users/martinwells/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-08-31T21:30:17Z","updated_at":"2016-02-26T23:24:20Z","closed_at":"2015-09-03T20:36:42Z","body":"Awesome example. Thanks a lot for putting it together.\r\n\r\nFor authentication, do you have any examples of connecting this up to something like passport? (Do you even need to do that for simple cases?) How is authentication handled for each API request (i.e. tokens)?"},"comment":{"url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/comments/189523866","html_url":"https://github.com/erikras/react-redux-universal-hot-example/issues/155#issuecomment-189523866","issue_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/155","id":189523866,"user":{"login":"alex-fernandez","id":7582277,"avatar_url":"https://avatars.githubusercontent.com/u/7582277?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-fernandez","html_url":"https://github.com/alex-fernandez","followers_url":"https://api.github.com/users/alex-fernandez/followers","following_url":"https://api.github.com/users/alex-fernandez/following{/other_user}","gists_url":"https://api.github.com/users/alex-fernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-fernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-fernandez/subscriptions","organizations_url":"https://api.github.com/users/alex-fernandez/orgs","repos_url":"https://api.github.com/users/alex-fernandez/repos","events_url":"https://api.github.com/users/alex-fernandez/events{/privacy}","received_events_url":"https://api.github.com/users/alex-fernandez/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T23:24:20Z","updated_at":"2016-02-26T23:24:20Z","body":"How did you manage to set the user from the callback? I was able to login, my problem is after login, it will be redirected to the index, my question is since the user is authenticated, where can we set the user in redux."}}