cakephp-3-acl-example
cakephp-3-acl-example copied to clipboard
Jwt with cakephp3 acl
Been able to successfully implement your plugin for role based authentication in my app. If you could guide me on how to authenticate api requests using the same. And If it is also possible to check if has permissions in the same api call. Thanks for providing us with this cute plugin.
please i'm triying to do the same thing in my application but cannot get it works. Got error aro not found. Did you encountered this issue? can you help me?
Please see this article at BravoKernel: http://www.bravo-kernel.com/2015/04/how-to-add-jwt-authentication-to-a-cakephp-3-rest-api/. It has a comprehensive guide on how to authenticate against CakePHP using Json Web Tokens (JWT). This was super helpful is getting my API kickstarted.
However, authorization of actions is a different story. Still haven't been able to solve that and on the lookout for good examples.
I will have a look. Helpful,always.
Thanks
Joel
On Fri, 25 Jan 2019, 16:34 Sourjya Sankar Sen <[email protected] wrote:
Please see this article at BravoKernel: http://www.bravo-kernel.com/2015/04/how-to-add-jwt-authentication-to-a-cakephp-3-rest-api/. It has a comprehensive guide on how to authenticate against CakePHP using Json Web Tokens (JWT). This was super helpful is getting my API kickstarted.
However, authorization of actions is a different story. Still haven't been able to solve that and on the lookout for good examples.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mattmemmesheimer/cakephp-3-acl-example/issues/13#issuecomment-457574212, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7SZZm4eRbloDUsOUyeSY05pfqgjNTOks5vGwfygaJpZM4Rluss .
Here is another article on similar lines: https://trinitytuts.com/secure-cakephp-web-services-using-jwt/. I suggest you sift through both and combine the best features.
Cheers.