react router 4

JWT Auth with Phoenix and React Router 4

Since I clearly cannot get enough of JWT [https://www.thegreatcodeadventure.com/jwt-auth-in-rails-from-scratch/] authentication [https://www.thegreatcodeadventure.com/jwt-authentication-with-react-redux/], here's a look at how to use it to authenticate your shiny new Phoenix API with a React + Redux front-end application, using React Router 4. In this post, we&…