Personally, I've used devise_token_auth[1] and j-toker[2] for jQuery. I've also messed around with Auth0 for fun, but is there a better way you do it?[1]: https://github.com/lynndylanhurley/devise_token_auth
[2]: https://github.com/lynndylanhurley/j-toker