Cakephp 3.6.1 - How to implement rest api with token authentication?

Hi All,

I have to build REST APIs with Cakephp 3.6.1 using token based authentication for registered users. I am trying to implement Basic Authentication but unable to understand with the document in the cakebook. I couldn’t find any example related to this.

Any help is appreciated.

Looking forward to immediate response.


thanks Diego, i followed your link for the rest api.

I am getting such error: Authentication adapter “ADmad/JwtAuth.Jwt” was not found.

could you please help.

Many thanks.

I have the same problem

Sounds like you’re missing ADmad’s JwtAuth plugin or didn’t properly install it