title: Oauth Login is not working - Redirect too many times (ERR_TOO_MANY_REDIRECTS)
body: <p>I have a facebook login button with this route:</p>
  
  <pre><code>&lt;a href="{{route('social.auth',['provider' =&gt; 'facebook'])}}"  
  
  style="background-color: #3b5998; color:white;"&gt; 
   &lt;i class="fa fa-facebook" aria-hidden="true"&gt;&lt;/i&gt; Login&lt;/a&gt;
  </code></pre>
  
  <p>When the button is clicked the user is redirected to "<a href="http://proj.test/auth/facebook/callback?code=..._=_" rel="nofollow noreferrer">http://proj.test/auth/facebook/callback?code=...<em>=</em></a>"</p>
  
  <p>But it appears an error:</p>
  
  <pre><code>Page is not working, proj.test redirect too many times. ERR_TOO_MANY_REDIRECTS.
  </code></pre>
  
  <p>Do you know where can be the error?</p>
  
  <p><strong>Routes:</strong></p>
  
  <pre><code>Auth::routes();
  
  
  Route::get('auth/{provider}/callback', [
      'uses' =&gt; 'OauthController@redirectToProvider',
      'as'   =&gt; 'social.auth'
  ]);
  
  Route::get('auth/{provider}/callback', [
      'uses' =&gt;   'OauthController@redirectToProvider',
      'as' =&gt; 'social.auth'
  ]);
  `
  </code></pre>
  
  <p><strong>OAuthcontroller:</strong></p>
  
  <pre><code>class OauthController extends Controller
  
  {
      public function redirectToProvider($provider)
      {
          return Socialite::driver($provider)-&gt;redirect();
  
      }
      public function handleProviderCallback()
      {
          $user = Socialite::driver('facebook')-&gt;user();
  
          return $user-&gt;getEmail();
  
          // $user-&gt;token;
      }
  }
  </code></pre>
  
  <p><strong>In the App domains I have:</strong></p>
  
  <pre><code>proj.test
  </code></pre>
  
  <p><strong>In the site url:</strong></p>
  
  <pre><code>http://proj.test/
  http://proj.test/facebook/auth/callback
  </code></pre>