diegohaz / arc

React starter kit based on Atomic Design
https://arc.js.org
2.92k stars 292 forks source link

[fullstack] Support JWT with server-side rendering #206

Closed ajhool closed 7 years ago

ajhool commented 7 years ago

While considering various JWT authentication approaches, I've noticed that other universal frameworks have not successfully/completely added passport.js with social and local strategies into their code.

I'm currently developing an application that requires some protected routes. Additionally, the application exposes many microservices that will exist independently of the ARC framework, where auth is achieved using JWT.

If there is interest, I would like to work with somebody to choose and implement the best strategy for adding this functionality to arc -- protected routes and JWT authentication with passport.js express middleware for universal rendering.

I feel this would help to significantly further distinguish arc from other universal frameworks/boilerplates