[Vuejs]-When do you need to use JSON Web Token authentication in Rails?

0👍

If you are developing a Single Page Application, maybe you need a JWT. The user must login once at the beginning, after login you will have a Json Web Token, and the next requests need to use the token in order to authenticate.

You can take a look a devise-jwt gem, to implement these feature.

https://github.com/waiting-for-dev/devise-jwt

Leave a comment