CakePHP API with JWT implementation (part 2/2)

  Рет қаралды 1,848

Alimon Pito

Alimon Pito

Күн бұрын

This tutorial on cakephp API development and also on JWT implementation in cakephp.
Firebase package : github.com/fir...
Jwt io : jwt.io/
Cakephp Documentation :book.cakephp.o...
Source : pitocms.com/cak...
Playlist : • CakePHP Version 4
Contact me on facebook : / pito.cms
Linkedin : / alimon-karim-645a0997
What's app : 8801737810405

Пікірлер: 8
@ssymatt
@ssymatt 6 ай бұрын
THANKS BROTHERRR
@layer7com13
@layer7com13 Жыл бұрын
Thank you very much for your 2nd part. it is so helpful.
@pitocms
@pitocms Жыл бұрын
Glad it was helpful!
@youtubesucks5746
@youtubesucks5746 Жыл бұрын
For CakePHP Views, how do you append the token to the header like you would in POSTMAN or a JS fetch() so the view is autwerised and forms woudl work?
@timothymbogo5849
@timothymbogo5849 Жыл бұрын
Hi Sir, thank you for this tutorial. I have followed it to the end. But I have a problem. On user login does't work when authenticator component is enabled in the AppController.
@WilmerOrtizCastillo
@WilmerOrtizCastillo Жыл бұрын
Hello, congratulations for sharing your videos. I have a query, how do I enable CORS in CakePhp V4 to consume the API from a react app with axios?
@pitocms
@pitocms Жыл бұрын
@wilmer Thank you for watching my tutorial. You can add below code in config/app.php 'Cors' => [ 'allowOrigin' => ['*'], 'allowMethods' => ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'], 'allowHeaders' => ['Authorization', 'Content-Type', 'X-Requested-With'], 'exposeHeaders' => [], ], Let me know has solved or not.
@WilmerOrtizCastillo
@WilmerOrtizCastillo Жыл бұрын
@@pitocms I keep getting the following error: Access to XMLHttpRequest at 'localhost/asprocafe-backend/api/login.json' from origin 'localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
CakePHP API with JWT implementation (part 1/2)
17:04
Alimon Pito
Рет қаралды 4,3 М.
What does larger scale software development look like?
24:15
Web Dev Cody
Рет қаралды 1,5 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Cakephp+docker
13:29
Alimon Pito
Рет қаралды 2,7 М.
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 319 М.
WORKSHOP - Authentication & Authorization by Kevin Pfeifer
1:45:39
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
Why is JWT popular?
5:14
ByteByteGo
Рет қаралды 350 М.
The standard library now has all you need for advanced routing in Go.
13:52
CakePHP 4 Login using authentication plugin (45)
15:02
Alimon Pito
Рет қаралды 15 М.