{"action":"opened","issue":{"url":"https://api.github.com/repos/tomRedox/simpleCRM/issues/30","repository_url":"https://api.github.com/repos/tomRedox/simpleCRM","labels_url":"https://api.github.com/repos/tomRedox/simpleCRM/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/tomRedox/simpleCRM/issues/30/comments","events_url":"https://api.github.com/repos/tomRedox/simpleCRM/issues/30/events","html_url":"https://github.com/tomRedox/simpleCRM/issues/30","id":143441386,"number":30,"title":"Look at whether we should move authentication and redirection out of router and into React components or Redux","user":{"login":"tomRedox","id":11335350,"avatar_url":"https://avatars.githubusercontent.com/u/11335350?v=3","gravatar_id":"","url":"https://api.github.com/users/tomRedox","html_url":"https://github.com/tomRedox","followers_url":"https://api.github.com/users/tomRedox/followers","following_url":"https://api.github.com/users/tomRedox/following{/other_user}","gists_url":"https://api.github.com/users/tomRedox/gists{/gist_id}","starred_url":"https://api.github.com/users/tomRedox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomRedox/subscriptions","organizations_url":"https://api.github.com/users/tomRedox/orgs","repos_url":"https://api.github.com/users/tomRedox/repos","events_url":"https://api.github.com/users/tomRedox/events{/privacy}","received_events_url":"https://api.github.com/users/tomRedox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-25T07:00:55Z","updated_at":"2016-03-25T07:00:55Z","closed_at":null,"body":"See @ffxsam's comment here: https://github.com/ffxsam/ffx-meteor-react-boilerplate/issues/8#issuecomment-201076916.\r\n\r\nThis probably relates to the separate issue of whether we should be bringing knowledge of the routing into Redux too so that restoring a previous state would then restore the page that goes with that state too.\r\n\r\n@gaereon recommends looking at [this article](https://auth0.com/blog/2016/01/04/secure-your-react-and-redux-app-with-jwt-authentication/) in [comments on a github gist here]((https://gist.github.com/iNikNik/1eabfc6bcc132384368c#gistcomment-1705467)).  That example is using JSON Web Tokens (JWTs) (which is an [open source standard](https://en.wikipedia.org/wiki/JSON_Web_Token)) and a paid authentication service auth0.\r\n\r\nNeed to think about how all this would tie into Meteor's existing security structure.\r\n\r\n"}}