Getting auth0 authorization code grant working with rails api