title: Laravel Socialite: How to change redirect_uri at runtime?
body: <p>Is is possible to change the value of redirect_uri set in config/services.php at runtime?</p>
  
  <p>I tried doing like this:</p>
  
  <p><strong>return $socialite->driver('facebook')->redirectUrl(newUrl)->redirect();</strong></p>
  
  <p>but it throws an error saying that the redirect_uri should match the one from the OAuth dialog. Upon further checking of the error message, the value of redirect_uri is empty so apparently, the redirectUrl() method does not work.</p>
  
  <p>PS:</p>
  
  <p>This is the socialite version that I'm using defined in composer.json:</p>
  
  <p><strong>"laravel/socialite": "^2.0"</strong></p>