I've a rails app that uses devise authentication for users. Now I'm about to create an android app for the Rails application. Thus using rails-api https://github.com/rails-api/rails-api for developing the restful webservice. Now I've to write an custom session controller for authenticating the user via android app and generating the token for future auths with the scaffold models.
I'm using devise 3.4.1, in which the token authentication is removed.