Authenticating with JWT in Laravel 11

436 Views Asked by At

I have a bearer token that is generated upon successful login. However, when I use this token in the 'auth:api' middleware to recognize the user via $request->user, it nullifies my image description. How can I configure my project to apply JWT, without losing anything in the config/app.php file?

enter image description here

enter image description here

I want to fix the problem to run my project.

0

There are 0 best solutions below