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
1 answer

Is it possible to use Laravel Socialite and Laravel Cashier in the same application?

Is it possible to use Laravel Socialite and Laravel Cashier in the same Laravel 5.1 application? I have done many searches online and have found no examples of this being done, only others asking if it an be done as well and no answers. Has anyone…
JasonDavis
  • 48,204
  • 100
  • 318
  • 537
0
votes
1 answer

can't understand facebook authentication using laravel

I'm going through this tutorial to implement Authentication using facebook http://www.codeanchor.net/blog/complete-laravel-socialite-tutorial/ but I can't exactly understand the UserRepository, and AuthenticateUser ,,, why we should use them like…
user2099451
  • 639
  • 3
  • 8
  • 20
0
votes
0 answers

Laravel5 - Socialite meetup, how to return user()?

I am getting the following error: Whoops, looks like something went wrong. 1/1 ErrorException in Arr.php line 238: explode() expects parameter 2 to be string, array given in Arr.php line 238 at HandleExceptions->handleError('2', 'explode() expects…
Harry Bosh
  • 3,611
  • 2
  • 36
  • 34
0
votes
1 answer

Traditional login in a laravel app gives InvalidArgumentException in Manager.php line 90: Driver [login] not supported

I have a site that allows users to register via social auth using Laravel socialite or traditionally using a registration form. I have also created a profile controller that is linked to the user, and it should only be accessed on logging in hence I…
adhis
  • 1
  • 2
0
votes
1 answer

laravel socialite facebook logging not getting user details

I have been trying to get user details from facebook login using socialite but only getting name and id it worked in my old facebook app(api 2.0) it has changed from v2.4 we need to manually specify fields but how we do in laravel socialite any…
sanu
  • 1,048
  • 3
  • 14
  • 28
0
votes
0 answers

Laravel 5 Socialite - Redirect Paramaters

Does anyone know of a way to have redirect variables persist while a user is logging in via Facebook or Google. This has puzzled me for a while now. For example if I want to redirect the user back to a specific article (page) on the website I need…
cs1h
  • 475
  • 1
  • 5
  • 8
0
votes
1 answer

NotFoundHttp Exception (Controller Method Not Found )- Laravel 5.1 Facebook Login

I am integrating Facebook Login in my New Laravel 5.1.The user will have the option to manually login by using Facebook Login or the traditional form login.So far I have no problem implementing traditional login For the Laravel Socialite, I think I…
Danielle Rose Mabunga
  • 1,676
  • 4
  • 25
  • 48
0
votes
0 answers

Laravel Socialite FitBit API problems

I have been trying to implement a FitBit API integration into my Laravel App for a couple of days now and getting nowhere. The only way I have managed to even get half way there is using Socialite Providers FitBit The code I have used so far to…
MÖRK
  • 954
  • 11
  • 31
0
votes
2 answers

Facebook Login in Laravel 5

I have registered my application with facebook, is using the Laravel socialite package. I'm unable to find a solution regarding how I should set up Facebook in the services.php file. services.php 'facebook' => [ 'client_id' => env('FB_APP_ID'), …
Marcus Christiansen
  • 3,017
  • 7
  • 49
  • 86
0
votes
1 answer

Laravel 5.1 login Multi Social Network with Socialite insert into the same name field

I would like to create login form using facebook, google, and twitter accounts. First step, I can create them by using Socialite Package. Second step, I can get user's info and insert into MySQL Database. My problem is I login successfully using…
SRENG Khorn
  • 1,201
  • 1
  • 12
  • 22
0
votes
0 answers

Laravel Socialite redirection issues

I have followed this tutorial to login using facebook: social-auth I am able to login using facebook but after that it just redirects to http://localhost:8000/auth/login#=.
shaNnex
  • 1,043
  • 2
  • 19
  • 34
0
votes
1 answer

Laravel Socialite Request Returns Null

I'm using Laravel Socialite 5.0. execute($request->has('code')); } $request->has('code') always returns…
0
votes
0 answers

Laravel facebook login SSL certificate cURL issue

I'm using socialite to authenticate users by facebook. I'm getting this error message: RequestException in CurlFactory.php line 169: cURL error 60: SSL certificate problem: unable to get local issuer certificate I changed php.ini to add .pem…
d3bug3r
  • 2,492
  • 3
  • 34
  • 74
0
votes
1 answer

Laravel 5.1 - Socialite - Fetching User

Using official Laravel Docs 5.1 - Socialite, I set my routed and edited my AuthController. public function redirectToProvider() { return Socialite::driver('facebook') ->scopes(['public_profile', 'email'])->redirect(); …
senty
  • 12,385
  • 28
  • 130
  • 260
0
votes
1 answer

Socialite on Homestead is failing

I followed the steps to install socialite, after I get redirect back to the website I get this error. I tried to find the root cause but failed to do so in Middleware.php line 68 at Middleware::GuzzleHttp\{closure}(object(Response)) in…
Mohammad Abu Musa
  • 1,117
  • 2
  • 10
  • 32