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

How to redirect the user to login to facebook and have them come back to the same place?

I have a dashboard feature that requires facebook login. If the token is expired, I catch that. So far so good, however, I'd like the user to go off to login and come back to the same place. This is the code: try { //make FB client $fb =…
Seio. E.
  • 297
  • 2
  • 7
  • 18
0
votes
1 answer

Laravel Socialite : Login With LinkedIn Gives Error on Cancle Button

I have followed below link to provide Login With LinkedIn in my laravel app. https://itsolutionstuff.com/post/laravel-5-login-with-linkedin-using-socialite-packageexample.html All Working fine , I am successfully able to login with likedin . But…
Saurabh Mistry
  • 12,833
  • 5
  • 50
  • 71
0
votes
0 answers

Socialite Package This page isn't working

I have applied socialite package in my project following the Laravel Socialite Documentation https://laravel.com/docs/5.4/socialite The problem arises when I try to login/register a user it throws this particular error I have already checked my…
Shwetank
  • 374
  • 1
  • 6
  • 20
0
votes
1 answer

Input Facebook Data (Gender, Birthdate, Address and Bio) into database with Laravel Socialite

I have created a complete code which allows Facebook Login by getting Name, Email and Avatar of the user in the database by using Laravel Socialite. I did it by writing this: $user = User::create([ 'email' =>…
0
votes
1 answer

How to logout from facebook in laravel?

I am using laravel framework and sociallite pacakage of laravel. I have done everything expect one thing logout from facebook. I have successfully logged in with facebook but I want when user logout from our laravel site it should automatic logout…
kunal
  • 255
  • 3
  • 17
0
votes
1 answer

Class App\Http\Controllers\SocialFacebookAccountService does not exist error in laravel

I am using Socialite for Logging in my users with Facebook. I have done all the processes needed to built the functionality. When I click on "Login with Facebook", it asks for permission and giving permissions on facebook, it redirects me too an…
0
votes
1 answer

How can I close my facebook session if I authenticate with socialite Laravel

I have an application with php laravel where it is used to authenticate Socialite / Facebook and I would like it when I close the session, it closes both for my application and for Facebook. We are already trying to redirect to…
miguelug
  • 547
  • 4
  • 10
0
votes
1 answer

back() redirect with flash message after login with socialite laravel

call back route: (I test it with google) Route::namespace('Auth')->group(function (){ $this->get('login/{provider}/callback', 'LoginController@handleProviderCallback'); ... } in the LoginController class public function __construct() { …
ali ali
  • 161
  • 2
  • 8
0
votes
2 answers

Validation Rule for social login

I was trying to implement social login with laravel. Everything seems OK. User can login . But problem is same email with facebook & google + also logged in. So i don't want to let login with same email. How do i implement validation rule for social…
Hola
  • 2,163
  • 8
  • 39
  • 87
0
votes
2 answers

Laravel 5.5 Socialite Error

I have an issue with Socialite on Laravel 5.5 I have Socialite required by composer, updated services.php with different providers credential and updated providers in app.php This is the error I am getting Type error: Argument 1 passed to…
0
votes
1 answer

Does Linkedin API support CORS preflight OPTIONS request?

i'm building "one single page" app with laravel v5.5.32 and i'm using Socialite with jquery Ajax to retrieve user's data from Linkedin to prefill subscription form but i'm running into CORS preflight OPTIONS request. i installed Barryvdh…
user2465095
0
votes
0 answers

google+ api not using port number on redirect (Laravel Socialite)

On my Google API page I have the following redirect URL set-up: http://localhost:8002/callback/google When I attempt the login I get a 400 error from Google: Error: redirect_uri_mismatch The redirect URI in the request,…
twigg
  • 3,753
  • 13
  • 54
  • 96
0
votes
1 answer

Socialite Provider: Driver [strava] not supported

I have followed the instructions for implementing the Strava Socialite provider on a fresh Laravel 5.5. install: http://socialiteproviders.github.io/providers/strava/ The only change I've made is to wrap the array key in a string in…
David
  • 320
  • 1
  • 6
  • 22
0
votes
0 answers

Laravel social getting gender and DOB

I'm using laravel social. I want gender and DOB from Google plus api , facebook, and twitter . Laravel by default give me only name,avatar,etc but not providing gender and DOB
Sagar Shinde
  • 95
  • 1
  • 11
0
votes
1 answer

The parameter app_id is required Socialite

Routes.php Route::get('login/facebook', 'Auth\LoginController@redirectToProvider'); Route::get('login/facebook/callback', 'Auth\LoginController@handleProviderCallback'); Services.php 'facebook' => [ 'client_id' =>…