How to set a symfony based rest api with oauth

So, you want to set a Symfony based REST API… [...]