-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jwt with cakephp3 acl #13
Comments
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 ***@***.*** 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
<#13 (comment)>,
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. |
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.
The text was updated successfully, but these errors were encountered: