All threads / JWT Authentication using Devise

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

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.