I am building an API and try to log in the users to he CakePHP backend. The users sends their email and password and they get a token and after that all API calls authenticated with the token.
I used the example codes from the cookbook.
When I send the credentials to the API’s /users/login.json
url than $this->Authentication->getResult()
status is FAILURE_OTHER with or without the correct credentials.