Questions tagged [laravel-socialite]

Socialite is a package that provides a simple, convenient way to authenticate with OAuth providers within the Laravel framework.

For Laravel 5.6 this link will help to integrate third party platforms like facebook, twitter, linkedin, google, github or bitbucket

To integrate other platforms like Instagram, LinkedIn , Medium , this link is very beneficial.

606 questions
0
votes
0 answers

socialite/laravel moving models broke the google login

I moved all my laravel's Model into App\Model; I edit all config file for making User model working and all is ok, all my model now have: namespace App\Model; on top of the class. Ive even a Model for SocialLite package, when i try to login via…
JahStation
  • 893
  • 3
  • 15
  • 35
0
votes
2 answers

How to install socialite in laravel 5.7 using composer?

I'm trying to install socialite in laravel 5.7. But it seems that the installer package not found. Here is how it looks: composer require laravel/socialite ./composer.json has been updated Loading composer repositories with package…
Abaij
  • 853
  • 2
  • 18
  • 34
0
votes
0 answers

Laravel socialite doesn't return user array

I am using socialite to login with facebook with my Laravel site. When I am trying $user = Socialite::driver($services)->user(); Then $user returning an empty array But if I use $user = Socialite::driver($services); Then $user returning huge data…
0
votes
0 answers

Laravel socialite Google login cannot create credentials for localhost server

I'm developing a laravel project with socialite. It is now in my localhost sever. During development, I want to test login/register locally. Hence, my domain is localhost. I've created a project in google console but can't create credentials for my…
Rejaul
  • 831
  • 1
  • 12
  • 35
0
votes
1 answer

Facebook Login - Log for user login attempts?

Does Facebook Login log all user login attempts on my app (failed, accepted...) ? Where can I see this log? By Facebook Login I mean the API provided by FB to allow users to "login with" in my App/Website. I use Laravel Socialite.
Paulo
  • 100
  • 1
  • 12
0
votes
1 answer

Linkedin login in laravel using socialite give error

I have used socialite & laravel 5.6 I think I need to use LinkedIn API v2 but I don't know how to update API v2 in socialite or any other solution to use v2
0
votes
0 answers

Laravel Socialite google+ api authorized domain issue?

I wan't to use http://127.0.0.1:8000/ as my Authorized Domain in my google+ api for the laravel socailte for testing purpose.i don't have domain to put my code on live still.what shall i do?
0
votes
1 answer

Class '\Laravel\Socialite\Two\TwitterProvider' not found Error

I am doing some workaround to allow the user to link their social media account to our app as well as directly create an account using their social media accounts. I have followed this strategy here for my linking of user's social media account for…
Eem Jee
  • 1,239
  • 5
  • 30
  • 64
0
votes
0 answers

How to login user with Laravel Socialite (LinkedIn)

I'm getting user Information after sign in LinkedIn with laravel Socialite package. I'm using lumen, after confirming the permissions from login screen it's giving me error. Although I have set my default guard to session in auth.php file.…
Muhammad
  • 339
  • 3
  • 22
0
votes
1 answer

Socialite function getId() is working but id is not added in database phpmyadmin

I am using Laravel Socialite for google login all the scoialite functions are working fine and data is being added to the database(phpmyadmin) except for the provider_id which function is getId() which is also working fine but data is not inserted…
Usama Khan
  • 33
  • 1
  • 6
0
votes
1 answer

How to setup the redirect url from Homestead using Socialite with Google?

When you try to setup Socialite for Laravel, using Homestead (here on Ubuntu), the "redirect url" needed for Google Sign-In are always marked as 'bad' : Error: invalid_request Invalid parameter value for redirect_uri: Non-public domains not…
Mikaleb
  • 107
  • 1
  • 11
0
votes
1 answer

Lumen socialite google login, callback page "not found"

I'm trying to implement Socialite to do login with google in my website. The page redirected to google auth page successfully. But then when auth success and the page redirect to my auth callback, i got the error "Page not found". I found that in…
dann
  • 853
  • 5
  • 17
0
votes
1 answer

Laravel Socialite facebook login: Can't Load URL: The domain of this URL isn't included in the app's domains

I know this question has asked before many times. I've tried every one but no luck, I my situation, Website url: https://mywebsite.com/qa redirect url: https://mywebsite.com/qa/login/facebook/callback I have added my domain to app domain, redirect…
0
votes
1 answer

Laravel with facebook login

I am having troubles in logging in with Facebook. I am using Laravel Socialite, I have followed all the instructions but I am having problems at method callback. This is what i do : public function redirectToFacebook() { return…
Alphal1111
  • 99
  • 3
  • 13
0
votes
2 answers

How do I get a user's organization id when they login with Google oauth?

I'm using Laravel Socialite to handle logging in with Google. In response I can see the user's domain. I was wondering if there was also a way to get an organization id that's user belongs to.