Hi, this looks very good and useful. I've got all this working but I couldn't make my MustVerifyEmail work. Are you able to setup the verify email and the password reset functions on this app? Thank you.
Thank you for this video, everything is working but when I don't provide a token to fetch user profile, I don't get Unauthenticated message, instead I get missing login route. Any idea how to fix this? Note: I am using laravel 11
Hello, thank you very much, you really helped me understand how to use Passport. But why is there an error in $token = auth()->user()->token(); I understand that it still works correctly, but I want to know if you know the reason.
Dear sir can you create a video how to host laravel website on server. What kind server need for laravel project with video play that website and how to install package of composer on server. In RU-vid dont have video step by step. What is best webhost site and plan for laravel project with user upload video and that video play on server.
i have a problem with Symfony\Component\Routing\Exception\RouteNotFoundException: Route [login] not defined. in file C:\Users\qusai\OneDrive\Desktop\laravel-test\test9\vendor\laravel\framework\src\Illuminate\Routing\UrlGenerator.php on line 479, how can I fix, when I tried to visit profile
Hi, yes you can change the default table for user login. You have to do auth changes settings with auth.php file. Change auth table name from there by settings of api guard.
@@OnlineWebTutor ho gaya sir but mujhe 1.admin 2.employee ke liye karna hai to kese karu employee ke liye to ho gaya par admin ke liye kese karu auth.php:
I cant log out public function logout() { $user = auth()->user(); if ($user) { $user->token()->revoke(); return response()->json([ 'status' => 200, 'message' => 'User logged out', ]); } return response()->json([ 'status' => 401, 'message' => 'User not authenticated', ]); } It give me 401 code, i can login and copy the token.