Skip to content
Snippets Groups Projects
Commit bb79badb authored by Prasad's avatar Prasad
Browse files

Fixes #725, #755, #563: Unified authrozation scope request when signin either...

Fixes #725, #755, #563: Unified authrozation scope request when signin either from Contacts or Calendar module
parent 8f66f646
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class Google_Oauth2_Connector {
$this->client_id = Google_Config_Connector::$clientId;
$this->client_secret = Google_Config_Connector::$clientSecret;
$this->redirect_uri = Google_Config_Connector::getRedirectUrl();
$this->scope = $this->scopes[$this->source_module];
$this->scope = implode(' ', array_values($this->scopes));
}
public function getClientId() {
......@@ -251,4 +251,4 @@ class Google_Oauth2_Connector {
}
?>
\ No newline at end of file
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment