1
0
Fork 0
mirror of synced 2024-05-20 20:52:36 +12:00

Correcting scope in getAccessToken

This commit is contained in:
Armino Popp 2020-07-04 17:04:25 +03:00
parent 2aa4f268a5
commit 56e28e91bb

View file

@ -65,7 +65,7 @@ class Box extends OAuth2
"client_secret" => $this->appSecret,
"code" => $code,
"grant_type" => "authorization_code",
"scope" => 'manage_app_users',
"scope" => \implode(',', $this->getScopes()),
"redirect_uri" => $this->callback
])
);