accessing to /api methods in oauth2 server accessing to /api methods in oauth2 server symfony symfony

accessing to /api methods in oauth2 server


Submitting the answer so this will close the open question.

Access denied caused because the request did not contain the access token. Refer to documentation with section titled Creating A Client and Usage.

https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/blob/master/Resources/doc/index.md