Introduction

Why ?

When I start to make SPA and API with rails, a lot of tutorial is using

"jwt" : "json web token"

But, if you are using devise, the option for api is ...

https://github.com/plataformatec/devise/wiki/How-To:-Simple-Token-Authentication-Example

Neither of them uses "jwt" !

That's why I'm confused...

"what is the best way to implement the authentication for rails api ?"

Last updated