Skip to content

Commit

Permalink
CLOUD: Force refresh_token on gdrive
Browse files Browse the repository at this point in the history
  • Loading branch information
Mataniko committed Jul 19, 2019
1 parent 9dedaea commit 358b54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes.php
Expand Up @@ -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(
Expand Down

0 comments on commit 358b54b

Please sign in to comment.