title: Create a Rails API for Deivse Authentication
body: <p>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 <a href="https://github.com/rails-api/rails-api" rel="nofollow">https://github.com/rails-api/rails-api</a> 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.</p>
  
  <p>I'm using devise 3.4.1, in which the token authentication is removed.</p>