1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

add default scope

This commit is contained in:
Damodar Lohani 2022-03-26 01:33:21 +00:00
parent 2a512fb611
commit 293406eff6

View file

@ -29,7 +29,9 @@ class Zoom extends OAuth2
/**
* @var array
*/
protected $scopes = [];
protected $scopes = [
'user_profile'
];
/**
* @return string
@ -48,6 +50,7 @@ class Zoom extends OAuth2
'client_id' => $this->appID,
'redirect_uri' => $this->callback,
'response_type' => 'code',
'scope' => \implode(' ', $this->getScopes()),
'state' => \json_encode($this->state),
]);
}