From 9cd86a9154e07a8a50cd5318f76de3f287b74929 Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Mon, 6 Nov 2017 21:21:14 +0000 Subject: [PATCH] Remove default scope for the ClientCredentialsGrant --- src/Grant/ClientCredentialsGrant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grant/ClientCredentialsGrant.php b/src/Grant/ClientCredentialsGrant.php index ed157aaf..2dce0e54 100644 --- a/src/Grant/ClientCredentialsGrant.php +++ b/src/Grant/ClientCredentialsGrant.php @@ -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);