This repository is a package rails-api with a working simple authentication to generate token, if you are developing API for multi client and need multi roles for the API you can use this repository for starting.
About
standard rails api with user access token and role