I am working on social login in Laravel. When passing parameter for identifying sign in and signup, it occurs error. “accounts.google.com redirected you too many times.” Without a parameter, it works well. These are my router. This is my controller. This is my view. Answer I just found a route issue.
Tag: laravel-socialite
User not loged in after redirect from login with laravel socialite
Hello I am using Laravel Socialite for Oauth authentication with my remote Laravel Paspport app. After getting successfully the user autheticated with passport when I want to get the user to the …
Retrieving facebook user access token with socialite on laravel 5.4
I am trying to get user access token so I can send CURL request through Guzzle to Facebook’s Graph API to get user’s friends that are using the app. But I can’t seem to be able to obtain it. Here’s my controller: Answer A couple of things to note. First of all, the following part of your code won’t work