*Don't get left behind! Download JavaScript: ES2015 to ES2023 - eBook and become a JavaScript pro!* 👉 qirolab.gumroad.com/l/javascript-from-es2015-to-es2023
@shahzaibmobile65872 жыл бұрын
Great great video for those who are understanding OAuth 2.0 first time.
@fatnaamraoui2998 ай бұрын
Qiro is my hero. Thanks a billion I've trying to figure this out for more than a year 😅 Now I understand it 🎉
@QiroLab8 ай бұрын
Thank you
@manojmishra38894 жыл бұрын
Hi, This is the best tutorial for Laravel OAuth2 on youtube, please keep up the good work. Can this be used for laravel microservices. Also, can you please make a tutorial for full featured laravel microservices.
@RezaPrayoga2363 жыл бұрын
this is some kind to build an SSO server for another third-party library app that is can use APIs provided by your OAuth2 server application. Great.
@madhand14723 жыл бұрын
I have error Session store not set on request in lumen. on oauth\authorize after enable session in lumen I got Authorization request was not present in the session.
@JamiulBari2 жыл бұрын
$request->user()->token()->delete() gives error. since $request->user() is null and why if I click "Authorize from server" it will ask for server user login? Should it not be directly Authorization request page (server.test/oauth/authorize)
@minhhoangcong88472 жыл бұрын
Did you solve this problem, I got the same error as you =))
@JamiulBari2 жыл бұрын
@@minhhoangcong8847 I could not. It was taking a lot of time. I switched to other problems to solve. And on top this KZbinr does not even reply. Great.
@satenwebmedia68644 жыл бұрын
Thank you sir, please make one real api consuming application based on OAuth in Laravel
@azeemhassanch3 жыл бұрын
its outdated now, because in laravel 8 passport-components is not available
@alfredobenito18522 жыл бұрын
no me aparece el access_token ni el refresh_token......me aparece ^ null Como lo soluciono?
@muhammadzeeshan67882 ай бұрын
how can we implement openid connect with passport???
@heranghalley14944 жыл бұрын
hello sir, what about in laravel 8 does it have a frontend just like vue components.
@oscarbenito79302 жыл бұрын
me sale este error.... Call to a member function token() on null que debo hacer?
@ajisurya28182 жыл бұрын
how to make 1 token oauth laravel passport for the other oauth api
@MrFranciscoooooo3 жыл бұрын
why you create the OAuth table if the passport gives you some tables?
@ChinyONE3 жыл бұрын
Hey, why do u save the token in the database? Shouldn´t the client get the token as response and send it with every request to the api? Why storing the access token extra in the db? cheers
@rajhalrajab89143 жыл бұрын
Hello, am a beginner with laravel passport, and am using laravel 6 for both applications but when I autherize from server and the server is off, the server just logs in without autherization
@durgeshpandey59104 жыл бұрын
Thank you so much for this great tutorial!
@QiroLab4 жыл бұрын
Glad you enjoyed it!
@QiroLab4 жыл бұрын
Glad you enjoyed it!
@RSuregar3 жыл бұрын
what extension VS Code you used?
@gauravamoli9277 Жыл бұрын
How to setup laravel passport with multi auth guards ..
@akshaygadekar99263 жыл бұрын
This passport implementation is static, how to make it dynamic? Every user will have his own client id right
@subhstha-j6b Жыл бұрын
Very good content, can you create video how to implement the Oauth2 Server for SSO.
@andikasaputra13904 жыл бұрын
What db client you use?
@志保宮野-o1h4 жыл бұрын
Hi why i got this error ? "Call to a member function tokens() on null" on C:\xampp\php\passport2-client\app\Http\Controllers\OauthController.php:41 may i know whats the problem?
@mauriziofilocamo58774 жыл бұрын
Me too...
@heranghalley14944 жыл бұрын
hello could you solve this problem, I faced it too
@nandalals94414 жыл бұрын
Hi, This is very useful. I appreciate your effort, But can u pls help bcz i am in a bottleneck ie on the Client app Oauthcontroller,php callback functionality, when i give the request like dd($request->code); i got the printed code, but when i pass other params like "'grant_type', 'client_id', 'client_secret', 'redirect_uri'" and dd($response->json()); it shows like null and what ever the values of the params i give was right => error shows like [ SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'access_token' cannot be null (SQL: insert into `oauth_tokens` (`access_token`, `expires_in`, `refresh_token`, `user_id`, `updated_at`, `created_at`) values (?, ?, ?, 1, 2021-01-14 23:12:49, 2021-01-14 23:12:49)) ] due to null data.
@nidhiagarwal69993 жыл бұрын
How can do it in laravel 8 using laravel passport
@jashanpreet8323 жыл бұрын
Ohhh what's great tutorial laravel is best
@subhadipghorui22163 жыл бұрын
Can you make another video if I want to have A Main Oauth server and A client laravel app. I want to use the user credential on server to logged in user on client app.
@martintamagusku26814 жыл бұрын
So, if we want a API than can use personal access token as a simple token, and the can be access from other clients using OAuth2, we have to split the API en two?
@juandavidcamargo57134 жыл бұрын
Lo mejor que he podido encontrar
@akudrive68904 жыл бұрын
sir, Which One Do You Prefer Between vue and react?
@donpuerto4 жыл бұрын
Vue
@QiroLab4 жыл бұрын
Both are good. But if you are beginner then I will suggest Vue, because it is very easy to learn.
@gethermedel36202 жыл бұрын
to save your Soul, it's Vue, I've used both in A LOT of projects and big ones too, they both can do WHATEVER YOU WANT TO HAPPEN. Vue is easier, without doing a lot of overhead unlike React -.- so go with Vue and save yourself from the overhype framework react.
@salmanafridi7854 жыл бұрын
I am confuse. What if there are two users then how I set their client ids dynamically instead of hardcode in controller
@QiroLab4 жыл бұрын
I think you may need to understand the OAuth2 workflow. You may have seen "Login with Facebook, Twitter, Google or Github". Assume `server.test` like Facebook, now to create a login with Facebook you will need to create App in the Facebook developer account, and that will generate client id and secret key (similar like at 13:35) and that you will use on your website. And assume `client.test` app as your website where you will use that client id and secret key. When you click on "login with Facebook" button it redirects to Facebook page for authorization that that website is requesting to access your data (similar like at 15:01). Now I hope you understand that workflow. I also suggest you watch that video, in this video, I have explained how OAuth works behind the scenes. kzbin.info/www/bejne/gnaUhXZqjLhnebs
@salmanafridi7854 жыл бұрын
@@QiroLab I know but suppose I create one more new app then I again go to controller and pass client I'd there is way to create form something to pass client I'd from GUI
@muhammadtareen53763 жыл бұрын
What if we don't have access to the server? How would you go about authenticating a user from a server on which we don't have access to?
@gethermedel36202 жыл бұрын
short answer you can't
@An_Najib4 жыл бұрын
can you do like this.. but using Lumen as Server framework?
@An_Najib4 жыл бұрын
ohh... and.. can I access API from AJAX/Axios? how to secure access token then
@pratikpawar054 жыл бұрын
how do you have that 'import class' functionality in visual studio code?
@QiroLab4 жыл бұрын
For that I have installed `PHP Namespace Resolver` extension in my vscode editor
@eknojorbd76394 жыл бұрын
This tutorial very very helpful . now i am watching. Hey bro please make a video Laravel valet on ubuntu system with phpmyadmin.. please please..
@QiroLab4 жыл бұрын
Sure I will
@eknojorbd76394 жыл бұрын
@@QiroLabI will wait..
@akudrive68904 жыл бұрын
@@QiroLab yea, please create tutorial valet linux and phpmyadmin.
@juancholeal3 жыл бұрын
where do you get that $ request-> user () -> token () ... if that $ request-> user doesn't exist
@tusharraturi57603 жыл бұрын
I am getting the same error. $request->user() throws null. Can you help me with it?
@nidhiagarwal69993 жыл бұрын
Hello php artisan vendor:publish --tag=passport-component Is not available in my laravel 8 passport
@nidhiagarwal69993 жыл бұрын
How can do it
@cubedev4838 Жыл бұрын
Amazing, can u make this series using laravel 10?
@QiroLab Жыл бұрын
Sure, I will make new video with the latest version.
@sayantanichatterjee24454 жыл бұрын
Sir this is an awesome video. Can u please tell me why are there separate applications for client and server. Is it possible to do this in a single laravel app?
@QiroLab4 жыл бұрын
For that, you have to understand the OAuth2 workflow. You may have seen "Login with Facebook". Assume `server.test` like Facebook, now to create a login with Facebook you will need to create App in the Facebook developer account, and that will generate client id and secret key (similar like at 13:35) and that you will use on your website. And assume the `client.test` app as your website where you will use that client id and secret key. When you click on the "login with Facebook" button it redirects to the Facebook page for authorization that that website is requesting to access your data (similar to at 15:01). Now I hope you understand that workflow. I also suggest you watch that video, in this video, I have explained how OAuth works behind the scenes. kzbin.info/www/bejne/gnaUhXZqjLhnebs
@donpuerto4 жыл бұрын
Is there any change on complete login/logout/register using passport ie password recovery/throttling, change password, token expiration with action or pop up on screen, and session timeout
@QiroLab4 жыл бұрын
I did not get your question. There is nothing change in passport API authentication. It is new tutorial series on making OAuth2 server using Passport package.
@jakubmonikowski48714 жыл бұрын
Dude, more please ! .. find it as useful as laracasts
@QiroLab4 жыл бұрын
Glad you enjoyed it! Sure, I will make more tutorials.
@shahzaibmobile65872 жыл бұрын
Thank you so much bro.
@satenwebmedia68644 жыл бұрын
Sir please make one tutorial on how to send an image or file using HTTP client api to another web app
@fgsolutions41954 жыл бұрын
Illuminate\Http\Client\ConnectionException cURL error 6: Could not resolve host: api (see curl.haxx.se/libcurl/c/libcurl-errors.html) This error comes when you complete callback() my server is running on localhost:8000 and client is running on local ip 192.168.2.25:8000
@gethermedel36202 жыл бұрын
you might want to update this as Laravel Passport v11, they added another field which is state.
@szymonjol55753 жыл бұрын
Great video
@QiroLab3 жыл бұрын
Thanks!
@bholakrkhawas54003 жыл бұрын
Thanks
@mohdhaikalrozhan6237 Жыл бұрын
Hi there, please make this video on 2023 version. This video is very helpful but kind of outdated.
@QiroLab Жыл бұрын
Sure, I will make new video with the latest version.
@IsraelRuizaespera2 жыл бұрын
show very good!
@eknojorbd76394 жыл бұрын
Waiting bro...
@gautamsingh-iv2nm2 жыл бұрын
crazy gk trick
@trannam22953 жыл бұрын
how to use beautiful command like you
@QiroLab3 жыл бұрын
I am using ZSH with oh-my-zsh on my terminal. I have already created video on this. You should watch that video also: kzbin.info/www/bejne/d3_bfaCfgb2nfK8