From a0cabb573c7cd5ee01803daec992d6ee3677c4ae Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Sat, 23 Dec 2017 23:33:42 +0000 Subject: [PATCH] Update AbstractGrant.php Temporarily removing check on empty scopes as causing issues for Passport users --- src/Grant/AbstractGrant.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Grant/AbstractGrant.php b/src/Grant/AbstractGrant.php index d8548eca..25378955 100644 --- a/src/Grant/AbstractGrant.php +++ b/src/Grant/AbstractGrant.php @@ -242,10 +242,6 @@ abstract class AbstractGrant implements GrantTypeInterface $validScopes[] = $scope; } - if (empty($validScopes)) { - throw OAuthServerException::invalidScope('', $redirectUri); - } - return $validScopes; }