Тёмный

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

Online Web Tutor
Подписаться 26 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@taimoorfarid9931
@taimoorfarid9931 7 месяцев назад
The best video for passport authentication, taught in the best manner! Thanks alot
@OnlineWebTutor
@OnlineWebTutor 7 месяцев назад
Thank you friend for your valuable comment 😌
@sajidahamed5867
@sajidahamed5867 7 месяцев назад
Good explanation, Thank you🤩🤩
@OnlineWebTutor
@OnlineWebTutor 7 месяцев назад
Most welcome friend ☺️
@S-149-v8n
@S-149-v8n 5 месяцев назад
thank you very much sir, this tutor is verry good 🤩🤩🤩🤩🤩
@juneroyd.quinimon495
@juneroyd.quinimon495 6 месяцев назад
THE BEST!
@OnlineWebTutor
@OnlineWebTutor 6 месяцев назад
Thank you ☺️
@dgloria
@dgloria 11 месяцев назад
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.
@desmondawere3409
@desmondawere3409 4 месяца назад
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 4 месяца назад
Please add a header with request - Accept: application/json
@johanortega8041
@johanortega8041 5 месяцев назад
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 5 месяцев назад
Yes it works because it gives you a single token data, when use tokens() it will give all tokens of that user.
@tienhoang7764
@tienhoang7764 5 месяцев назад
Also add refresh token please 🤩
@mclotos
@mclotos 9 месяцев назад
so what about refresh token?
@vinodverma2618
@vinodverma2618 11 месяцев назад
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.
@OnlineWebTutor
@OnlineWebTutor 11 месяцев назад
Okay, sure will see.
@mgaqusai2526
@mgaqusai2526 9 месяцев назад
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 9 месяцев назад
Where you are getting this error?
@ameetshrestha6424
@ameetshrestha6424 7 месяцев назад
Hey, I faced the similar issue. We have to include "Accept"=>"application/json" in postman Headers to fix this issue.
@smitnayak6257
@smitnayak6257 9 месяцев назад
How can create employee table api using passport not default users table
@OnlineWebTutor
@OnlineWebTutor 9 месяцев назад
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 8 месяцев назад
​@@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_ 11 месяцев назад
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.
Далее
Laravel SPA Authentication - setup and common mistakes
16:55
А вы знали что металл тонет?
00:32
Laravel 8 REST API With Sanctum Authentication
54:13
Просмотров 548 тыс.
Sanctum & Passport, with Taylor Otwell
24:16
Просмотров 3,5 тыс.
Authorization in Laravel: Can You Do That?
8:29
Просмотров 10 тыс.
Getting started with Laravel Passport and OAuth2
29:52