I want to build an app with laravel 5 & dropbox API in which I want the API allow/cancel-warning to be displayed when you land on the homepage, not when you click a butt
This code works for me:
return redirect()->away('https://www.dropbox.com');
Make sure you also add a return (i.e. return $this->checkSession();) in start().
return $this->checkSession();
start()