Skip to main content

JWT Authentication using Devise

Rails • Asked by Carlos Orellana

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


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.