diff --git a/get_oauth_token.php b/get_oauth_token.php index 6323b34f..ae4c30b8 100644 --- a/get_oauth_token.php +++ b/get_oauth_token.php @@ -95,6 +95,12 @@ switch ($providerName) { break; case 'Microsoft': $provider = new Microsoft($params); + $options = [ + 'scope' => [ + 'wl.imap', + 'wl.offline_access' + ] + ]; break; }