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?
I want to fix the problem to run my project.