🔥🤩 Step-by-Step Laravel 10 REST API Using Passport Authentication | Laravel API Development Tutorial

  Рет қаралды 8,625

Online Web Tutor

Online Web Tutor

Күн бұрын

Пікірлер: 25
@taimoorfarid9931
@taimoorfarid9931 10 ай бұрын
The best video for passport authentication, taught in the best manner! Thanks alot
@OnlineWebTutor
@OnlineWebTutor 10 ай бұрын
Thank you friend for your valuable comment 😌
@sajidahamed5867
@sajidahamed5867 10 ай бұрын
Good explanation, Thank you🤩🤩
@OnlineWebTutor
@OnlineWebTutor 10 ай бұрын
Most welcome friend ☺️
@nicolas_vl
@nicolas_vl 28 күн бұрын
Here the Passport is used like Sanctum. The oauth/token endpoint should be responsible for returning the token. Passport is for OAuth 2.0, not just for issuing tokens directly.
@jq_dev
@jq_dev 9 ай бұрын
THE BEST!
@OnlineWebTutor
@OnlineWebTutor 9 ай бұрын
Thank you ☺️
@S-149-v8n
@S-149-v8n 8 ай бұрын
thank you very much sir, this tutor is verry good 🤩🤩🤩🤩🤩
@mgaqusai2526
@mgaqusai2526 Жыл бұрын
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
@OnlineWebTutor
@OnlineWebTutor Жыл бұрын
Where you are getting this error?
@ameetshrestha6424
@ameetshrestha6424 10 ай бұрын
Hey, I faced the similar issue. We have to include "Accept"=>"application/json" in postman Headers to fix this issue.
@dgloria
@dgloria Жыл бұрын
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.
@mclotos
@mclotos Жыл бұрын
so what about refresh token?
@desmondawere3409
@desmondawere3409 7 ай бұрын
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
@OnlineWebTutor
@OnlineWebTutor 7 ай бұрын
Please add a header with request - Accept: application/json
@johanortega8041
@johanortega8041 8 ай бұрын
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.
@OnlineWebTutor
@OnlineWebTutor 8 ай бұрын
Yes it works because it gives you a single token data, when use tokens() it will give all tokens of that user.
@tienhoang7764
@tienhoang7764 8 ай бұрын
Also add refresh token please 🤩
@smitnayak6257
@smitnayak6257 Жыл бұрын
How can create employee table api using passport not default users table
@OnlineWebTutor
@OnlineWebTutor Жыл бұрын
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.
@smitnayak6257
@smitnayak6257 11 ай бұрын
​@@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:
@einnlleinhatt_
@einnlleinhatt_ Жыл бұрын
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.
@vinodverma2618
@vinodverma2618 Жыл бұрын
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 KZbin 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.
@OnlineWebTutor
@OnlineWebTutor Жыл бұрын
Okay, sure will see.
Laravel SPA Authentication - setup and common mistakes
16:55
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
(FR) Office Hours : Code Connect 101
1:05:43
Figma
Рет қаралды 785
Laravel 11 REST APIs with Passport Auth Package - Hindi (Don't Miss it)
54:43
Authorization in Laravel: Can You Do That?
8:29
Laravel
Рет қаралды 11 М.
Laravel Origins: A PHP Documentary
33:27
OfferZen Origins
Рет қаралды 163 М.
Laravel Passport vs Sanctum: What's the difference?
8:28
Andrew Schmelyun
Рет қаралды 17 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН