Это видео недоступно.
Сожалеем об этом.
Laravel Passport Authentication | OAuth2 Authentication | Token Based Authentication | API Tutorial
HTML-код
- Опубликовано: 13 авг 2024
- Laravel Passport Authentication | OAuth2 Authentication | Token Based Authentication | API login and registration with Laravel Passport | API Tutorial | Laravel 8 | Learning Points
From this video we will learn about-
User Authentication with API request?
How to pass Bearer Token with API request ?
Token based authentication with laravel ?
What is OAuth2 ?
Laravel Passport Authentication
How OAuth2 works ?
How to register user using passport ?
How to login user using passport?
And many things..
Chapters
00:00 Introduction
00:33 OAuth2 Authentication
01:42 Add Passport
03:03 Migrate Passport Tables
04:01 Install Passport
04:59 Configure Model
05:43 Configure Passport
06:58 Create Controller
08:36 Registration Functionality
16:20 Login Functionality
18:50 Test with Postman
22:30 Middleware - Authorize URL
24:58 Conclusion & Next video topic
So using this video we will get a complete knowledge about how to create token based authentication system with laravel passport. This is a very simple example to understand how real life token based authentication system working and how to protect your url from unauthorized access. Please see the full video to complete get complete knowledge about token based authentication system.
In our upcoming video I will cover about Logout functionality with Laravel Passport : • Laravel 8 Passport Log...
Please comment your feedback and support me by subscribing to this channel.
Laravel 9 New upgrades : • Laravel 9 New Features...
Laravel 9 Tutorial : • Laravel 9 Tutorial | L...
Express JS Tutorial : • Express Js Tutorial | ...
Full Node Js Tutorial : • Node JS latest version...
Full JWT Authentication tutorial in Laravel 8 : • Laravel 8 REST API Usi...
Full PHP tutorial : • PHP beginners to advan...
Full ECMA Script Tutorial : • ES6 | ECMA SCRIPT Tuto...
Laravel 8 tutorial : • Laravel 8 tutorial | L...
Angular Tutorial : www.youtube.co...
API tutorial with Laravel : • API tutorial from begi...
Livewire Tutorial : www.youtube.co...
Full Stack Application Tutorial : • Full Stack Application...
Full Voyager admin panel tutorial: www.youtube.co...
Advance PHP tutorial : • Advance PHP tutorial |...
PHP Interview Questions Answers : www.youtube.co...
Follow in Facebook : / learningpointsdotin
Follow in Linkedin : / learning-points
Follow in Instagram : / learning_points
Visit Learning Points website for more topic : learning-points...
#api #laravel #laravel8 #laravel8x #passport #auth
This is awesome I've tried so many times to get this laravel/passport api right and this tutorial here does it for me! Thank you!
Glad it helped! Thank You.
Nice video ! thanks for the exemple at the end to explain how it works. Great job !
Thanks 😊
Nicee 😊
Very Helpful. Deserve subscription and like.
Thanks 😊
Very well explained
Thank You :)
Explained nicely. Thanks brother
Thanks
great tutorial thnx
Welcome :)
I like your content, keep doing great things !!!
Thanks 😊
Thanks man Great video :D
Thank you 😊
❤️❤️❤️❤️❤️
❤
Excellent 😊😊😊😊
Thanks
Good video, but I would like to know more about the relationship between database table and the connection between backend code with database
All you can do it as per general laravel relationship.
I understand how to test using Postman but how to register using form in client apps and redirect back for validation errors?
Nice video, and i could follow it step by step.
Just curious, what is the used of BlogController as shown in the end?
Which video do talking about this BlogController?
To make it authorized.
Please check from 22:30
I installed passport and all the related configuration also done.
Then, using blog controller get-blog link can be accessible. Suppose if you want to make that link private, means without valid token you don't want to open that link.
That time I am passing that link with middleware - so that without valid token the link will not open.
I am just showing you and example - to know how the auth is working, and how you can restrict a link with token.
How to get or create Refresh Token and get both access token & refresh token while registering or login?
thanks
Welcome
Thanks for the video, i have a question, how can i get token and refresh token?
Please see the next part of this playlist. Logout functionality
I found an error undefined method accessToken in login function, in registration function it works fine. Please help 🥺
Ok. May be some typo or some error. Please check once. If not solved - Please contact me in through the facebook link. Link are provided in the description section.
Nice explain but how to generate refresh token also while generate access token
You can do it easily.
Do a request to /oauth/token with the POST method and pass the 'grant_type' => 'refresh_token' and along with this put the previous refresh_token, client_id, client_secret and you will get another response containing other tokens.
Some process of this authentication is difficult to understand can you make one more video to this topic!
Where you faced the problem?
hi..when using mongodb... can not install passport:install cmd....can u help me please?
Will try to create separate tutorial when we will learn with mongodb
@@LearningPointsCourses thank you ..
I can't login after register. I don't know why? The error is unauthenticated
To login you need to pass token along with login credential. The token is basically for authentication purpose.
@@LearningPointsCourses thanks
Plz provide me logout
Hey. Logout functionality uploaded. Please see that tutorial and comments your feedback.
Plz provide me code for logout api laravel 8 passport
Sure. I will create a small video for logout.
@@LearningPointsCourses do u create it???? this is a nice vedeo
@@jintuthomas6766 Thanks. Logout functionality uploaded. Please see that tutorial and comments your feedback.
@@LearningPointsCourses thank u ...and can u share the link