title: Fixed route Home after google login with Socialite
body: <p>I have setup a google login with socialite 3.2.0 on laravel 5.6.The authenticating does work great.I want a custom redirect, i tried my best with trying methods but it redirects to Home after registration.</p>
  
  <pre><code>//login controller
      protected $redirectTo = '/home';
      protected $redirectToEdit = '/edit';
  
      public function redirectToProvider($provider)
      {
          return Socialite::driver($provider)-&gt;redirect();
      }
  
  
      public function handleProviderCallback($provider )
      {
          $user = Socialite::driver($provider)-&gt;stateless()-&gt;user();
          $authUser = $this-&gt;findOrCreateUser($user, $provider);
          Auth::login($authUser,true);        
          return redirect($this-&gt;redirectToEdit);
  
  
      }
  
      public function findOrCreateUser($user, $provider)
      {
          $authUser = User::where('provider_id', $user-&gt;id)-&gt;first();
          if($authUser) {
              return $authUser;
          }
          $user =  User::create([
              'name'      =&gt;  $user-&gt;name,
              'email'     =&gt;  $user-&gt;email,
              'provider'  =&gt;  strtoupper($provider),
              'provider_id'   =&gt;  $user-&gt;id
          ]);
  
  
          return $user;
      }
  
  routes
  Route::get('auth/{provider}', 'Auth\LoginController@redirectToProvider');
  Route::get('auth/{provider}/callback', 'Auth\LoginController@handleProviderCallback');
  </code></pre>
  
  <p>I want to direct the users using google as login to direct them to /edit after registration.How do i approach ?</p>