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
2 answers

504 Gateway Time-out nginx/1.15.8 Laravel Socialite

Two days now I try to spot an issue with this provider. MY SETUP PHP VERSION: PHP 7.2.14 Zend Engine v3.2.0 Laravel Valet Clearing cache php artisan cache:clear composer dump-autoload FILE :…
0
votes
0 answers

Test the laravel socialite redirect

I've implemented laravel socialite authentication and I'm trying to write a test to the login flow I have the two functions: redirectToProvider and handleProviderCallback public function redirectToProvider($provider) { return…
0
votes
2 answers

Laravel \ Socialite \ Two \ InvalidStateException No message Error in Facebook Socialite

I am using facebook as the login of my application. After the user successfully logs in, they are redirected to my user homepage. But when I try to refresh the page after log in it throws an error: Laravel \ Socialite \ Two \ InvalidStateException …
Eem Jee
  • 1,239
  • 5
  • 30
  • 64
0
votes
1 answer

Google+ Api deprecated, solution for laravel 5.1

I have implemented login with google using socialite in laravel 5.1. Google plus apis are being deprecated, socialite resolved this for version 3.0 and above which is not supported by laravel 5.1. Any hacks around it?
0
votes
1 answer

Facebook login using socialite in laravel

Followed the procedure for facebook Oauth using social lite in laravel https://itsolutionstuff.com/post/laravel-56-login-with-facebook-with-socialiteexample.html but after i set it up, i am having problem like ERR_TOO_MANY_REDIRECTS. This is the…
0
votes
1 answer

Laravel, how to link facebook login between 2 website?

Currently, I'm using laravel socialite to link between facebook and my first website. I have 2 website that is already published, let say first_web.com and second_web.com. What I'm trying to do is, after user log in(using facebook acc) into…
LearnProgramming
  • 814
  • 1
  • 12
  • 37
0
votes
1 answer

Laravel Socialite "Facebook" The parameter app_id is required

So I am having the same problem as this user here : Laravel Socialite Facebook Login Error: The parameter app_id is required and I have followed the solution give to this user. but I still get the same error. even tried changing clinet_id to…
Demeteor
  • 1,193
  • 2
  • 17
  • 33
0
votes
0 answers

FB login doesn't work, but FB share does with Laravel socialite

I have implemented two social features in my Laravel application using Socialite: share and login. I have the settings in .env and, correspondingly, in config/services.php: 'facebook' => [ 'client_id' => env('FACEBOOK_CLIENT_ID'), …
sveti petar
  • 3,637
  • 13
  • 67
  • 144
0
votes
1 answer

Laravel login with Socialite (google, facebook, etc) and create an access token of my own app

I am using Laravel Social Authentication with Socialite, I can login successful, but I want to create the access token of my own app, but not the google, twitter and facebook token. I can create the access token, but it creates everytime when the…
lyriclau
  • 1
  • 2
0
votes
1 answer

Laravel 5.7 Auth::login($findUser, true) returns null

I'm trying to login a user through laravel socialite. Everything is working fine but the user is not getting logged in! I'm getting response from facebook, saving the response in the database and trying to login after that. here is the…
Ujjwal Verma
  • 83
  • 1
  • 9
0
votes
1 answer

After successful callback from facebook socialite, I get redirected to the login page

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…
Ujjwal Verma
  • 83
  • 1
  • 9
0
votes
1 answer

Laravel/socialite Composer package 5.6 or 5.7

I'm starting to install the laravel/socialite. I have the Laravel 5.6 installed, so should I use composer require laravel/socialite "^3.2.0" based on the documentation from https://laravel.com/docs/5.6/socialite or can I use composer require…
Sajid Latif
  • 119
  • 2
  • 16
0
votes
0 answers

UpdateOrCreate fails to update one column

I`m coding Facebook Login with Laravel/Socialite. I use UpdateOrCreate in the callback function, so if user does not exist, Laravel will create a new record, otherwise, will update some data on existing one. public function…
Paulo
  • 100
  • 1
  • 12
0
votes
2 answers

Socialite: Merge accounts that have the same email

im using socialite to give the users the option to log in with either facebook or github. but when a user logs in with facebook and after that with github, 2 separate accounts are created. So my question is , is there a way to combine these 2…
0
votes
1 answer

How to correctly fix CURL Error 60 with Laravel Socialite?

I've spend a good part of the last couple of days reading through all the solutions on stackoverflow and google but to no avail. So the concrete problem: I purchased an SSL certificate from namecheap for my webpage. This particular site is hosted on…
Marina Mosti
  • 461
  • 2
  • 7