Skip to main content

All Questions

0 votes
0 answers
21 views

Laravel Socialite Login Error with Google Sign-In

I am trying to implement socialite into my laravel project where users can login with their google accounts. Here is my usercontroller file <?php namespace App\Http\Controllers; use Illuminate\...
Toby Manurung's user avatar
0 votes
1 answer
112 views

Laravel Sociliate keeps asking for granted scopes

I'm using Laravel Socialite for oAuth2 with Google using this code: return Socialite::driver('google') ->with([ 'access_type' => 'offline', 'prompt' => 'consent', '...
Broshi's user avatar
  • 3,534
1 vote
1 answer
436 views

Laravel 9: Socialite: cURL error 7: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.googleapis.com/oauth2/v4/token"

I have been struggling for the past week with this error, and I cannot find one like mine online. I am developing an application with Laravel 9 that let the user log in using the Google Account. ...
Drinu89's user avatar
  • 43
1 vote
1 answer
3k views

Laravel socialite login after successful auth not redirecting

I have a laravel project that uses google to login. I am using socialite package from laravel. I can save the user's info in my database after they confirm in the google auth screen, but after that it ...
draw134's user avatar
  • 1,157
0 votes
0 answers
637 views

Socialite, google api error 'GET https://www.googleapis.com/userinfo/v2/me?prettyPrint=false` resulted in a `401 Unauthorized'

I implemented social login with laravel socialite for facebook and google, and while it works for facebook for google it gives me this error Client error: GET https://www.googleapis.com/userinfo/v2/...
Emia's user avatar
  • 75
0 votes
1 answer
937 views

Laravel 5.5 Google OAuth authentication using Socialite Package (Legacy People API has not been used in project)

Im trying to add google authentication for my application which built with laravel 5.5 with Laravel Socialite. So for that I have created a google developer account via google developer console and ...
Nipun Tharuksha's user avatar
0 votes
0 answers
78 views

Laravel Socialite google+ api authorized domain issue?

I wan't to use http://127.0.0.1:8000/ as my Authorized Domain in my google+ api for the laravel socailte for testing purpose.i don't have domain to put my code on live still.what shall i do?
Kiran Tirumalasetti's user avatar
5 votes
2 answers
5k views

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 ...
Atinder Singh's user avatar
4 votes
1 answer
3k views

Laravel Socialite - google login failed “Missing required parameter: code”

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: ...
Amine99's user avatar
  • 326
0 votes
2 answers
7k views

How to get user data from google using socialite google driver

I m trying to work with laravel google socialite driver where i need to get user data from google using access token that i am getting from my api call. But when i thought i have done everything ...
user7747472's user avatar
  • 1,932
12 votes
4 answers
13k views

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: ...
nogias's user avatar
  • 583
7 votes
1 answer
6k views

Getting Google Refresh Token with Laravel Socialite

Using Laravel Socailite to connect to the Google API and I am getting back a connection fine, however this access doesn't return a refresh token so my connection is timing out. $scopes = [ ...
Kieran Headley's user avatar
1 vote
2 answers
4k views

How do I reduce the Socialite scope in Laravel 5?

I'm successfully using Laravel 5's socialite feature, but I feel that it's asking for more permissions than makes sense for the end user when they sign up. For instance, Google tells my users that I ...
Citizen's user avatar
  • 12.8k
1 vote
2 answers
1k views

Google Contacts API call return Response ok but empty JSON

Currently building a Laravel app that uses the Socialite package to successfully authenticate users using their Google credentials. However, I'm trying to make a GET request to the Google server to ...
ferenan's user avatar
  • 177
3 votes
2 answers
7k views

Making requests to Google API using Guzzle and Socialite in Laravel 5

I'm building a web app that has to interact with Google Contacts API and retrieve the Contact List of the authenticated user, but I'm getting ClientException in RequestException.php line 89: Client ...
ferenan's user avatar
  • 177