I'm using oauth-server plugin with cakedcUser plugin.
So am plannning to have a server to a product with authenticated and non authenticated pages + oauth server API with password grant API to the correspondent mobile app.
But I'm unable to create a route pointing to a Controller->Action which is authenticated by the generated token.
Right now, either CakeDCUser plugin asks for login/password or the Controller->Action is accessed freely.
Can you post a example of how check the TOKEN and clear the webservice page access?
I'm using oauth-server plugin with cakedcUser plugin.
So am plannning to have a server to a product with authenticated and non authenticated pages + oauth server API with password grant API to the correspondent mobile app.
But I'm unable to create a route pointing to a Controller->Action which is authenticated by the generated token.
Right now, either CakeDCUser plugin asks for login/password or the Controller->Action is accessed freely.
Can you post a example of how check the TOKEN and clear the webservice page access?