WORKSHOP - Authentication & Authorization by Kevin Pfeifer

  Рет қаралды 6,432

CakePHP

CakePHP

Күн бұрын

Пікірлер: 15
@Daleveloper
@Daleveloper Ай бұрын
Thanks very helpful
@fakhralam1238
@fakhralam1238 10 ай бұрын
looking for a video on saving datetime values in database and show it to different user based on their selected timezones and also get from them in their timezone and save in common timezone best and optimized way to handle it using cakephp 5
@HUNTSVILLEPR
@HUNTSVILLEPR Ай бұрын
I have done the imports, add the plugin in the bootstrap method but the implement of AuthorizationServiceProviderInterface is causing a 500 error. Do you have any idea why?
@KevinPfeifer
@KevinPfeifer Ай бұрын
look at the logs/debug.log or your webservers error log to see the 500 error details
@papiicodes
@papiicodes Жыл бұрын
Hi Kevin, do you have video for JWT Stateless Auth in CakePHP API?
@AndrewLee-mn1mn
@AndrewLee-mn1mn Жыл бұрын
Dear Kevin, How do we allow unauthorized access to the landing page after the implementation of myservice policies and all the others?
@KevinPfeifer
@KevinPfeifer Жыл бұрын
So you still require a logged in user (authenticated but no authorization check), right? Then all you need to do is not call the ->authorize() method and instead call $this->Authorization->skipAuthorization(); inside your controller action.
@GuillermoVenuto
@GuillermoVenuto Жыл бұрын
Hi Kevin, I have a question. While using the "Request Authorization Middleware," I've noticed that the "canAccess($identity, ServerRequest $request)" function, when the $identity parameter is null, does not generate a redirection like the "Authentication" plugin does. Am I missing something, or do I have to do implement it myself? If so, how would I go about it? Thanks for your great explanatory video.
@KevinPfeifer
@KevinPfeifer Жыл бұрын
I am not certain what your exact example is about. Can you please elaborate your example in our discourse forum or in our slack/discord support channel so we can further discuss this? KZbin comments aren't meant to be a good place to debug and provide technical support ^^
@sylviadamlabing5358
@sylviadamlabing5358 Жыл бұрын
Thanks. This was very usefull
@WilmerOrtizCastillo
@WilmerOrtizCastillo Жыл бұрын
Hello, one question, is there a way to change the "id" to another name such as "user_id"? or where I configure to tell cakephp that the "id" is going to be replaced by "user_id" from my "users" table.
@KevinPfeifer
@KevinPfeifer Жыл бұрын
If you are talking about the primary key "id" then you can set that via adjusting the "$this->setPrimaryKey('id')" inside your table class to whatever you like.
@WilmerOrtizCastillo
@WilmerOrtizCastillo Жыл бұрын
Excellent thanks
@evolvedHE
@evolvedHE Жыл бұрын
I've tried this 10 times and it just never logs me in at 27:45. I have no idea why
@evolvedHE
@evolvedHE Жыл бұрын
nevermind, turns out my password was limited to 20 characters so the hash wouldn't be done right
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 31 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 23 МЛН
CakePHP 5 - Token Authentication
43:19
James McDonald
Рет қаралды 823
CakePHP 4 Login using authentication plugin (45)
15:02
Alimon Pito
Рет қаралды 15 М.
CakePHP 4 Tutorial 2023 - Simple JSON API (Part 18)
12:51
CakePHP
Рет қаралды 7 М.
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
CakePHP API with JWT implementation (part 1/2)
17:04
Alimon Pito
Рет қаралды 4,2 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 68 М.
CakePHP 3.1 Login & Registration From Scratch - Part 1
27:14
Traversy Media
Рет қаралды 124 М.
CakePHP 4 Tutorial 2022 - Migrations (Part 13)
15:52
CakePHP
Рет қаралды 3,6 М.
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 31 МЛН