Rails api authentication with devise and Doorkeeper Check more at https://codenotes.tk/rails-api-authentication-with-devise-and-doorkeeper/