Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move authentication and redirection out of router and into React components and Redux state #30

Open
tomRedox opened this issue Mar 25, 2016 · 2 comments

Comments

@tomRedox
Copy link
Owner

See @ffxsam's comment here: ffxsam/ffx-meteor-react-boilerplate#8 (comment).

This 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.

@Gaereon recommends looking at this article in comments on a github gist here. That example is using JSON Web Tokens (JWTs) (which is an open source standard) and a paid authentication service auth0.

Need to think about how all this would tie into Meteor's existing security structure.

@ffxsam
Copy link

ffxsam commented Mar 25, 2016

Hey!

This article should prove to be useful.

@tomRedox
Copy link
Owner Author

Hi @ffxsam, much appreciated.

Arunoda links to an interesting discussion on the Meteor Forum in the comments of that article too: https://forums.meteor.com/t/question-to-mdg-building-routing-into-core/4378/37

@tomRedox tomRedox changed the title Look at whether we should move authentication and redirection out of router and into React components or Redux Move authentication and redirection out of router and into React components or Redux Mar 25, 2016
@tomRedox tomRedox changed the title Move authentication and redirection out of router and into React components or Redux Move authentication and redirection out of router and into React components and Redux state Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants