I have been using token_authenticatable before to secure my API, however, I have found that it was deprecated? What should I use instead and why did they deprec
From their blog :
"we cannot digest the authentication token provided by TokenAuthenticatable, as they are often part of APIs where the token is used many times. Since the usage of the authenticatable token can vary considerably in between applications, each requiring different safety guarantees, we have decided to remove TokenAuthenticatable from Devise, allowing users to pick the best option."
It's now up to the developers to choose the best fit depending on their usage of the authentication token.
Checkout this gist.