Generic oauth provider using rails and doorkeeper