1 year agoby Akil Raza

I am having issue while using socialite (with g+ login).

I get a "NO MESSAGE" error when i login using google accounts, it works fine on localhost, but this error occurs when trying it live.

/home/ideamagix/uat1gdg.ideamagix.com/vendor/laravel/socialite/src/Two/AbstractProvider.php --> error in this file on line 210

i tried stateless system for g login. return Socialite::driver('google')->stateless()->user();

Client error: POST https://www.googleapis.com/oauth2/v4/token resulted in a 400 Bad Request response: { "error": "invalid_request", "error_description": "Missing required parameter: code" }

for overcoming this error i also tried $scopes = in GoogleProvider.php but that didnt work as well.

Can you please help me out with this , Thankyou

Ask Question
Most Visited