I created two sample projects, the rails API and the front-end app , which illustrate the integration of auth0 in rails. I assume that the scope requirements are present in the tokens to demonstrate at the most basic level how authorization will work in such a scenario.
The interface uses AngularJS, but it basically does not matter, as the logic is very simple and can be easily rewritten in any structure.
joão-angelo, , , , , , . , , auth0, , .
, !