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
321
votes
31 answers

Facebook OAuth "The domain of this URL isn't included in the app's domain"

Let me first start with saying I've searched for an answer to this question for quite some time... I'm trying to setup Facebook OAuth to work with my application that is being developed locally on my machine. Everything was working perfect with…
dangel
  • 7,238
  • 7
  • 48
  • 74
42
votes
24 answers

Laravel 5 Socialite - cURL error 77: error setting certificate verify locations

I am using socialite in Laravel 5 to setup facebook login. I followed the instructions carefully until I got stuck with the following error cURL error 60: SSL certificate problem: unable to get local issuer certificate so I found the this answer to…
omarsafwany
  • 3,695
  • 8
  • 44
  • 75
35
votes
5 answers

How to fix 'Facebook has detected MyApp isn't using a secure connection to transfer information.' error in Laravel

I am trying to connect my app to facebook login with Laravel and socialite package.But i don't know why facebook show me this error. I searched internet but i couldn't find anything .How can i fix this error ? I thought that if i make my connection…
Ani
  • 551
  • 1
  • 5
  • 18
21
votes
2 answers

Using Laravel Socialite with an API?

I'm trying to use Laravel Socialite package over an api. I try to pass the code into my api to fetch the user but it keeps giving me an error: Fatal error: Call to a member function pull() on null Since I'm doing the request over an API, I take the…
Rob
  • 10,851
  • 21
  • 69
  • 109
16
votes
9 answers

URL Blocked: This redirect failed because the redirect URI is not whitelisted....(Localhost web application)

URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs. I've installed the…
řĕĕ ňă
  • 177
  • 1
  • 1
  • 12
16
votes
4 answers

Using Laravel Socialite to login to facebook

I am new to Laravel however and I am following the tutorial on http://www.codeanchor.net/blog/complete-laravel-socialite-tutorial/, to login a user through Facebook into my application. However, almost everywhere I find a tutorial using either…
Namit
  • 1,314
  • 8
  • 20
  • 36
13
votes
4 answers

Laravel Socialite: InvalidStateException (sometimes)

some of the users on my site are experiencing a Laravel\Socialite\Two\InvalidStateException. I've taken the steps outlined in the replies to Laravel Socialite: InvalidStateException and have not been able to resolve the issue. Only a small…
Ben
  • 60,438
  • 111
  • 314
  • 488
12
votes
3 answers

OAuthException using Socialite with facebook - "message": "An active access token must be used to query information about the current user.",

I have been using Socialite for a few days with Facebook without issue. Today, I started getting this error. { "error": { "message": "An active access token must be used to query information about the current user.", "type":…
vc_ace
  • 123
  • 1
  • 4
10
votes
3 answers

laravel 5.5 login via google gives Client error

I was trying to add the google login to my laravel project. but it gives a Client error. Given below is the error i got. I successfully installed the socialite as well. Client error: `GET…
10
votes
3 answers

Laravel Socialite - google login failed "Missing required parameter: client_id" although specified

I have this strange issue with using Laravel Socialite to log users in via Google API. Everything configurations seem normal and ordinary, but I keep getting error Missing required parameter: client_id. Not only that, sometimes I tried again and the…
nogias
  • 563
  • 2
  • 6
  • 23
10
votes
2 answers

How can I manage OAuth refresh tokens with Laravel?

The Socialiate plugin provides an implementation for OAuth in Laravel, but it seems to be designed for mostly for the purpose of allowing them to not have to make a user account on your own site. I am making an application that helps manage their…
9
votes
1 answer

Forcing user account selection for Laravel Socialite Google+ logins

I recently implemented Laravel Socialite so that users can login using their Google+ accounts. Everything seems to be working but one issue I'm having is that after I login for the first time in a browser I am unable to switch to a different Google…
Brian Lewis
  • 91
  • 1
  • 3
9
votes
2 answers

Laravel 5 Socialite Facebook Login Error handling on callback after user cancels app request

I have a Laravel 5 web app with Socialite to login my user by using Facebook account. This is my callback function: public function callback(SocialAccountService $service) { $user =…
krozaine
  • 1,481
  • 15
  • 22
8
votes
3 answers

How to login using Github, Facebook, Gmail and Twitter in Laravel 5.1?

I am trying to login using social sites in Laravel 5.1. I have installed socialite and following below…
scott
  • 3,112
  • 19
  • 52
  • 90
7
votes
3 answers

Google Sign-In With Token Laravel Socialite

Hey there, I have problem with validating user logged in with Google on Android client, Server side is Laravel, In other side when user logged in, it gives me a token that i must verify with Google, Im using Socialite package, i don't know how i…
Katerou22
  • 777
  • 5
  • 19
1
2 3
40 41