I need to do token based authentication


#1

I have followed this link https://book.cakephp.org/3.0/en/tutorials-and-examples/cms/installation.html and create a cms. I want to change the login system disabling the has password. Please help. Thank you.


#2

Sorry, not an answer, but thanks, I never saw that tutorial before :slight_smile:

By token-based you mean you want to access it like an API for a JavaScript front-end?


#3

there is nice tutorial for JWT token based login http://www.bravo-kernel.com/2015/04/how-to-add-jwt-authentication-to-a-cakephp-3-rest-api/


#4

no mention. I mean token based authentication in cakephp.


#5

yeah thanks. I have followed. There are a lot of thing that i don’t need in this tutorial. this tutorial is very difficult to follow. i am not getting the excite things needed.


#6

This might help with the tokens, basically uses a JWT (Java Web Token) along with Multidots’ API plug-in.

(the link on github isn’t working at the moment, this is mean to be the link I think)


#7

thank you for sharing it.


#8

https://tutel.me/c/programming/questions/41143395/cakephp+3+api+does+not+authenticate+user+token this link help me completing the task