Remove default scope for the ClientCredentialsGrant

This commit is contained in:
Andrew Millington 2017-11-06 21:21:14 +00:00
parent 42ea0de9fb
commit 9cd86a9154

View File

@ -29,7 +29,7 @@ class ClientCredentialsGrant extends AbstractGrant
) {
// Validate request
$client = $this->validateClient($request);
$scopes = $this->validateScopes($this->getRequestParameter('scope', $request, $this->defaultScope));
$scopes = $this->validateScopes($this->getRequestParameter('scope', $request));
// Finalize the requested scopes
$finalizedScopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client);