New Discussion

Notifications

You’re not receiving notifications from this thread.

JWT Authentication using Devise

0
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
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.