Correcting scope in getAccessToken
This commit is contained in:
parent
2aa4f268a5
commit
56e28e91bb
|
@ -65,7 +65,7 @@ class Box extends OAuth2
|
||||||
"client_secret" => $this->appSecret,
|
"client_secret" => $this->appSecret,
|
||||||
"code" => $code,
|
"code" => $code,
|
||||||
"grant_type" => "authorization_code",
|
"grant_type" => "authorization_code",
|
||||||
"scope" => 'manage_app_users',
|
"scope" => \implode(',', $this->getScopes()),
|
||||||
"redirect_uri" => $this->callback
|
"redirect_uri" => $this->callback
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue