Ask A Question

Notifications

You’re not receiving notifications from this thread.

JWT Authentication using Devise

Carlos Orellana asked in Rails

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

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,400+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.