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
6
votes
0 answers

Refreshing access tokens with Laravel and Socialite

The application I'm working on has a mailing function. When I tried sending a mail more than an hour after logging I was greeted with an error. The access token expired, forcing you to log in again. But how do I refresh the access token? I know that…
Snackoverflow
  • 736
  • 9
  • 31
6
votes
2 answers

Laravel socialite facebook avatar

Im using Laravel 5.2 with Socialite. I am able to pull out the details of the user but the problem is that the avatar is not being displayed properly if I inject it on its src. Socialite returns an object wherein I could use it as…
basagabi
  • 4,900
  • 6
  • 38
  • 84
6
votes
1 answer

Facebook Socialite login with Laravel 5.1

I have followed all the step in http://laravel.com/docs/5.1/authentication to make the social login with facebook on Laravel 5.1. Here the steps that I've followed: 1 - Use the command in my Laravel root project: composer require…
Giuseppe87
  • 406
  • 4
  • 14
6
votes
2 answers

Laravel Socialite (Google) Error: ClientException in Middleware.php line 69; Error 403

I am setting up a Laravel app to authenticate with Google. I am prompted to select a Google account and allow access to my Google info and I have everything working up to the callback function. When my callback function runs (it does get called…
Ted
  • 2,211
  • 2
  • 19
  • 27
5
votes
5 answers

Laravel socialite login through facebook results in Sorry, something went wrong

I have a laravel project that uses facebook login. But after a few days of testing, when I go to the route, it says Sorry, something went wrong.. I did not touch or modified my code and as well as in the app in my facebook developers account. Can…
5
votes
4 answers

Laravel socialite - Google auth works locally but not in production: Missing required parameters code

I have a problem in my production environment with Laravel Socialite's Google auth. The error is same as on this post: laravel socialite not working on live server, only works on local machine but I have an Apache server and after many tries, I…
Vaunt
  • 106
  • 1
  • 7
5
votes
3 answers

laravel socialite not working on live server, only works on local machine

I have recently moved my application into a live server. The problem is laravel socialite stopped working, below is the explanation: I click on google login and after choosing email, on callback this happens: InvalidStateException on Abstract.php…
5
votes
4 answers

Auth::login() not working properly laravel 5.7

I'm trying to setup 'Login with facebook' using laravel socialite. When I try to login, it gets a successful callback from the facebook, I'm storing the data fetched into the database and try to redirect to home page. While doing so, I am redirected…
5
votes
3 answers

Socialite Google redirect_uri_mismatch

I am trying to login with google using socialite , my facebook login works fine so the problem in my google app, any help!!! 'google' => [ 'client_id' => 'app-key', 'client_secret' => 'app-secret', 'redirect' => …
Michael George
  • 338
  • 2
  • 15
5
votes
2 answers

socialite laravel authantication error with google API

I have been using Socilte package for users login, i m using facebook, google, twiter and github API. All other API's are working fine expect google API, it is showing an error while returning from google. HTTP Error 403 - Forbidden The Web server…
Atinder Singh
  • 87
  • 1
  • 8
5
votes
1 answer

Get Email Address from socialite while login with Gmail

I am following this article to login with Google. I am able to redirect to gmail login successfully. Also, it goes to callback url successfully. Below is my code public function showGoogleLoginForm() { $providerKey =…
Pankaj
  • 9,749
  • 32
  • 139
  • 283
5
votes
5 answers

Driver [provider] not supported laravel/socialite

I'm using Laravel 5.4 and Socialite 3.0 With every new socialite provider I add I get the error: Driver [provider] not supported. for example when adding socialiteproviders/twitch 3.0 I will get the error: Driver [twitch] not supported. However…
Dtp
  • 51
  • 1
  • 1
  • 4
5
votes
1 answer

Laravel Socialite: How to change redirect_uri at runtime?

Is is possible to change the value of redirect_uri set in config/services.php at runtime? I tried doing like this: return $socialite->driver('facebook')->redirectUrl(newUrl)->redirect(); but it throws an error saying that the redirect_uri should…
Jay
  • 405
  • 7
  • 15
5
votes
1 answer

Socialite laravel 5.4 Facebook login error (ClientException in RequestException.php line 111)

in past signup with Facebook functionality working fine suddenly when i signup or Login with facebook then i am facing this error ClientException in RequestException.php line 111: Client error: GET …
Bilal Ahmed
  • 4,005
  • 3
  • 22
  • 42
5
votes
1 answer

Laravel Socialite in "stateless" mode -- security implications?

Laravel Socialite has a "stateless" mode which disables storing anything to session. From a read of the source code it doesn't do anything different instead -- it just doesn't store or retrieve these values. As part of this, it assumes for example…
tremby
  • 9,541
  • 4
  • 55
  • 74
1 2
3
40 41