diff --git a/src/routes.php b/src/routes.php index d056c00..5987474 100644 --- a/src/routes.php +++ b/src/routes.php @@ -36,7 +36,7 @@ function getCloudProviderAndScope($cloudProviderName, $container) 'accessType' => 'offline', ] ); - $scope = [ 'scope' => [ 'https://www.googleapis.com/auth/drive.file' ] ]; + $scope = [ 'prompt' => 'consent', 'scope' => [ 'https://www.googleapis.com/auth/drive.file' ] ]; break; case 'onedrive': $provider = new Stevenmaguire\OAuth2\Client\Provider\Microsoft(