Except for facebook both GitHub and Gmail worked for me but I think the error is from my side. Thank you so much it is my first-time experience of the socialite in my 2 year of experience in laravel. Again thank you so much I'll share this tutorial with my colleagues as well. Really appreciateted. Channel also subscribed and video is already liked :) Stay blessed
Awesome... but you should have separated client side from server side... I'm confused because I only need server side (I have log in with google button on my mobile app already)
Thankyou so much my man, its very helpfull!! P.S. i do follow all of your tutorials from the begining but i found error in my redirect. Then i put stateless() in method handleGoogleCallback and it works!
idk if its the video's fault on missing some detail(or maybe i missed it), or if it is the Laravel on 8.x sudden updates I had encountered errors along the way and needed to add to make it function add on Logincontroller: use App\Models\User; (if your getting User not detected) use Socialite;
thank you for the tutorial, it's really help me. but my facebook login is not working, I think the problem is in facebook developer page, and I saw your video that your Valid OAuth Redirect URIs is error too. How can your facebook login runs smoothly? please help me
when i run php artisan migrate:fresh , i have a error like this: SQLSTATE[HY000] [2002] Connection refused (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE'), how i can fix , can you help me, i changed databasename in .env file everything oke but it cannot run :(((((
Here is another tutorial about laravel passport. Hopefully you will be helped :) ua-cam.com/video/SFVb-h3fkNo/v-deo.html Please subscribe channel to get latest tutorials.
can u please tell me why i get this kind of error? Not Found The requested URL was not found on this server. Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/7.4.10 Server at localhost Port 80
If I login to my google account locally, it's ok. But when running the main domain, it gives error 403 Forbidden You do not have permission to access this document. Can you help me?
Thanks , whene try press on the new buttons i have error "Class 'App\Http\Controllers\Auth\Socialite' not found" C:\xampp\htdocs\projectBlog\app\Http\Controllers\Auth\LoginController.php:46 line 46 : return Socialite::driver('google')->redirect();
The redirect URI in the request, www.login.dev.me/googleres, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: console.developers.google.com/apis/credentials/oauthclient/${your_client_id}?project=${your_project_number} i am facing error like this how can i handle it please help me
hi , when i clicked button , all buttons redirect me google , facebook, and git hub account , but after i clicked register as Account name "" The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again."" like this error occur , help me please
Hmm If I'm not wrong Login@index is the way to call a function from a controller on an older versions of Laravel. and Login::class, 'index' is the way to call the function directly from a controller; Controller_name::class, 'function_Name'; On you case: Login::class, 'index' laravel.com/docs/8.x/routing#route-parameters
I followed all instructions to the dot. I am getting error: Route [login.google] not defined., as well as login.facebook, login.github same. I also tried downloading ur github code and running that, still am getting the same error. maybe because im not using xamp or i didnt place it in htdoc EDIT: Nevermind It was because I needed to clear to do php artisan route:clear and php artisan optimize.
@@codeforyou got it you are using apache which means you pasted your laravel project inside htdocs thats why you are mentioning public but I'm using laravel development server thats it and btw thanks for the tutorial man
I am getting this "User is not allowed to see the application.: The user is not allowed to see this application per the developer set configuration." in facebook login give some solution
thank u sir but i have this problem GuzzleHttp\Exception\RequestException cURL error 60: SSL certificate problem: unable to get local issuer certificate (see curl.haxx.se/libcurl/c/libcurl-errors.html) for www.googleapis.com/oauth2/v4/token
Hi! Please can u help me with this error, "not found the required url was not found in this server", I follow your steps I only change de name of the app.. like this "localhost/tadi/public/login/google/callback
Insecure Login Blocked You can't get an access token or log in to this app from an insecure page. Try re-loading the page as when i try to login with facebook i am getting this error need help?
Except for facebook both GitHub and Gmail worked for me but I think the error is from my side. Thank you so much it is my first-time experience of the socialite in my 2 year of experience in laravel. Again thank you so much I'll share this tutorial with my colleagues as well. Really appreciateted. Channel also subscribed and video is already liked :) Stay blessed
In one word, you are really awesome 😎
Thank you so much for making this tutorial, Makes me easy to understand than reading Documentation in laravel 8.x
You are welcome 🙂
From one bangali to another, great job. Two thumbs up.
It's my pleasure ☺️
Awesome... but you should have separated client side from server side... I'm confused because I only need server side (I have log in with google button on my mobile app already)
I m not getting Facebook avatar, but rest are working fine. Thanks Man !
Thankyou so much my man, its very helpfull!!
P.S. i do follow all of your tutorials from the begining but i found error in my redirect. Then i put stateless() in method handleGoogleCallback and it works!
Glad to hear 🤗
Please be my side.
How ..plz will you explain
Super video, thank you👍👍👍
Muito obrigado, ajudou de mais!!!
You are welcome 🤗
thanks the best toutrial
You are welcome ☺️
Very Usefull, i have tried with breeze already installed, some few changes, but work perfect
Glad to hear 🤗
on thumbnail its Laravel 8 and you are using Laravel 6 docs
idk if its the video's fault on missing some detail(or maybe i missed it), or if it is the Laravel on 8.x sudden updates
I had encountered errors along the way and needed to add to make it function
add on Logincontroller:
use App\Models\User;
(if your getting User not detected)
use Socialite;
use Auth; (if Auth is not detected)
in auth this is the right path for it : Illuminate\Support\Facades\Auth;
tnx such well done. but for my PHP migrate show error .how can I fix that
hi, no matter what i do, i get the error Laravel\Socialite\Two\InvalidStateException, what do you think is the problem?
Thanks a lot.
You are welcome ☺️
thank you for the tutorial, it's really help me. but my facebook login is not working, I think the problem is in facebook developer page, and I saw your video that your Valid OAuth Redirect URIs is error too. How can your facebook login runs smoothly? please help me
did you figure it out , i'm having same issue with facebook on localhost
localhost/...
just make sure you are using https for facebook
Background music thoda low rakho biradar
very think you sir
You are welcome ☺️
how do you zoom the screen?
CTRL+"scroll" or CTRL+"+" and CTRL+"-"
error 'Laravel \ Socialite \ Two \ InvalidStateException' on the line "$ user = Socialite :: driver ('google') -> user ();"
any solution?
Solucion: $user = Socialite::driver('facebook')->stateless()->user();
nowadays in github json the name comes as nickname, so put $ user-> name = $ data-> nickname; to register a github user
Worked for me thanks
You are welcome 🤗
when i run php artisan migrate:fresh , i have a error like this: SQLSTATE[HY000] [2002] Connection refused (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE'),
how i can fix , can you help me, i changed databasename in .env file everything oke but it cannot run :(((((
Run php artisan cache:config
@@codeforyou i have run it, but after i'have run php artisan migrate , it's not working @@
Nice tutorial...How to do this with laravel passport and socialite?
Here is another tutorial about laravel passport. Hopefully you will be helped :)
ua-cam.com/video/SFVb-h3fkNo/v-deo.html
Please subscribe channel to get latest tutorials.
Class 'App\Http\Controllers\Auth\Socialite' not found
I am getting this error when trying to login via google
Thank you sooooooo much!!!!!
You are welcome ☺️
Thank you very much
You are welcome :)
thanks bro
You are welcome ☺️
j'aimerais savoir comment je p
eux tester cela avec Postman donc en utilisant des Api
Merci pour un retour favorable
Well done and good luck to you ❤😊
Thanks ☺️
FatalErrorException in Emitter.php line 49:
Cannot use lexical variable $eventName as a parameter name
...????
it is redirecting me after login not actually login neither it is saving user data in database without any error, please help me out here
Thanks
You are welcome ☺️
Facebook returns only user id, name and email, will not be possible to get also first_name and last_name separately?
Please check Facebook APIs.
how to resolve 404 | not found error .....please
Me too :(
Great video buddy!!!
Thanks 😊
Please subscribe channel to get latest tutorials.
Yes did it
login.facebook, Where does it come from on blade termplate
thank you 😊
You are welcome ☺️
Class 'App\Http\Controllers\Auth\User' not found
Well done !
Thank you
Thank you pak
You are welcome 🙂
can u please tell me why i get this kind of error?
Not Found
The requested URL was not found on this server.
Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/7.4.10 Server at localhost Port 80
Please check the instructions carefully.
Hi, i am using laravel 7 and i face this error " Missing required parameter: client_id " so please tell me the solution of this.
Thanks
Copy and paste the app id generated for api in developers console
It works except fb login. Could you update tutorial?
Please follow the instructions carefully.
THANKS A LOT.
You are welcome ☺️
Follow me for upcoming tutorials.
If I login to my google account locally, it's ok. But when running the main domain, it gives error 403 Forbidden
You do not have permission to access this document.
Can you help me?
16:39 select internal
Thanks , whene try press on the new buttons i have error "Class 'App\Http\Controllers\Auth\Socialite' not found"
C:\xampp\htdocs\projectBlog\app\Http\Controllers\Auth\LoginController.php:46
line 46 : return Socialite::driver('google')->redirect();
You didn't install Socialite package properly.
Uninstall and install again according to my tutorial.
Please subscribe channel to get latest tutorials.
The redirect URI in the request, www.login.dev.me/googleres, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: console.developers.google.com/apis/credentials/oauthclient/${your_client_id}?project=${your_project_number}
i am facing error like this how can i handle it please help me
hi , when i clicked button , all buttons redirect me google , facebook, and git hub account , but after i clicked register as Account name "" The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again."" like this error occur , help me please
Please follow the instruction carefully.
Are you able upload sources to Github?
The link is on description.
Anyway subscribe channel to get latest tutorials.
hi my app is logging out directly could you guide me how I can manage this?
Please check the instructions carefully.
What is a difference in Login@index vs Login::class, 'index' in Laravel
Can you please share codes?
Hmm
If I'm not wrong Login@index is the way to call a function from a controller on an older versions of Laravel.
and Login::class, 'index' is the way to call the function directly from a controller;
Controller_name::class, 'function_Name';
On you case:
Login::class, 'index'
laravel.com/docs/8.x/routing#route-parameters
I need help with this, "Error 400: invalid_request
Missing required parameter: client_id" :'(
Did you follow the instructions carefully?
@@codeforyou yes, but I have these error :'c
@@codeforyou What's the correct url for redirect?
where is login/google/callback?
the same, bro
did you solve it ?
Thank you
You are welcome ☺️
Please subscribe channel to get latest tutorials.
I followed all instructions to the dot.
I am getting error: Route [login.google] not defined., as well as login.facebook, login.github same.
I also tried downloading ur github code and running that, still am getting the same error.
maybe because im not using xamp or i didnt place it in htdoc
EDIT:
Nevermind
It was because I needed to clear to do
php artisan route:clear
and
php artisan optimize.
bro your route is not defined.. maybe you have not given names to routes.
Thank you!!!
You are welcome. Did you subscribe to channel? Don't forget to get latest tutorials.
im getting error on the redirect url how you use it with public
Please follow the instructions carefully, hopefully you will get the solution.
@@codeforyou got it you are using apache which means you pasted your laravel project inside htdocs thats why you are mentioning public but I'm using laravel development server thats it and btw thanks for the tutorial man
I'm glad to hear, please stay with me by subscribing channel.
I am getting this "User is not allowed to see the application.: The user is not allowed to see this application per the developer set configuration." in facebook login give some solution
Please check the instructions carefully.
@@codeforyou I dont't understand what does it mean .am I missing any conguration?
reset link are not sent how do i solve this error
it shows->
Swift_TransportException
Cannot send message without a sender address
Did you follow the instructions carefully?
@@codeforyou yes
Avatar doesn't show and doesn't save in database i don't know what's the problem.
Please check the instructions carefully.
Anyway subscribe channel to get latest tutorials 👍
@@codeforyou i checked but didn't get any solution
thx a lot problem solved
Very great job 👍
my problem Laravel\Socialite\Two\InvalidStateException.. help me!:((
me too
thank u sir but i have this problem
GuzzleHttp\Exception\RequestException
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see curl.haxx.se/libcurl/c/libcurl-errors.html) for www.googleapis.com/oauth2/v4/token
...
cool stuff thanks of course !!! But I got a headache from this fucking music.
Hi! Please can u help me with this error, "not found the required url was not found in this server", I follow your steps I only change de name of the app.. like this "localhost/tadi/public/login/google/callback
Maybe you missed something. Please try one more time.
Hi, this is amazing. Do there exist any method to logout from FACEBOOK
Thanks for your interest 👍.
I will check and let you know 😊
By the way please subscribe channel to get latest tutorials.
Insecure Login Blocked
You can't get an access token or log in to this app from an insecure page. Try re-loading the page as
when i try to login with facebook i am getting this error need help?
Thankyou very much
You are welcome ☺️