Sign in with google+ and facebook login in sign page of bagisto ecommerce
-
Hi,
Can you give any example to redirect to any other page after login with google+
public function handleProviderCallback()
{
$user = Socialite::driver('google')->user();**return $user->name;** }
-
Hi,
What is happening ?
-
Hi,
It is showing only user name but I need redirect to another page, can you give me redirect route after login with google+ successfully.
-
Hi,
Place your redirect route in 'handleProviderCallback' method & you will be redirected accordingly.
For more reference, please see this one - https://medium.com/employbl/add-login-with-google-to-your-laravel-app-d2205f01b895
Thanks
-
Hi,
Now sign in with google+ and facebook is working fine for me, but after successfully sign in with google+ also sign in button is showing below account drop down instead of logout button. Please refer below is the screen shot for this problem. can anyone give me the solution to sort out the issue, thank you.
-
Hi,
In 'handleProviderCallback' method, when you got data from source(ex-google
) then you need to implement login functionality according to that data & you are missing this.
So, Kindly take pull from this repository - https://github.com/rahulshukla-webkul/bagisto-socialite.
We have implemented this one here.Thanks
-
Hi,
Thank you so much............! Now everything working fine regarding sign in with google+
-
@rahul after add "laravel/socialite": "^3.2.0" and run "composer update" command then showing error Class 'Laravel\Socialite\SocialiteServiceProvider' not found
-
You need to run add this service provider in your applications app.php file of config folder.
Please go through with this article - https://medium.com/justlaravel/laravel-social-login-using-socialite-45305c7ddc00
Thanks
-
@rahul Thanks
It's working for me.
one more query is How to create a Carousel in a custom theme? -
Hello Damayanti Nama,
You may refer to below link for adding carousel component
https://forums.bagisto.com/topic/1186/add-carousel-component-vuejs-into-bagisto/2