JWT Authentication using Devise
I've been looking for a really god material about how to create Authentication using JWT and Devise, after that consume that with ReactJS (Mainly the rails part, but the react is a plus)
Some materials that I found are these:
https://www.sitepoint.com/introduction-to-using-jwt-in-rails/
https://medium.com/@goncalvesjoao/rails-devise-jwt-and-the-forgotten-warden-67cfcf8a0b73#.28po056fk
But I think are not complete. In my app I will need to manage several users type, permissions, roles and I read about JWT like a great option for securiy reasons instead of normal token authentication.
Other point is that I don't want to modify (unless if is really necesary) the Devise source code.
Any suggestion, material is welcome.
Thanks