diff --git a/src/Grant/AbstractGrant.php b/src/Grant/AbstractGrant.php index b52b14cb..bbb9efc0 100644 --- a/src/Grant/AbstractGrant.php +++ b/src/Grant/AbstractGrant.php @@ -246,7 +246,7 @@ abstract class AbstractGrant implements GrantTypeInterface } if (empty($validScopes)) { - throw OAuthServerException::missingScope($redirectUri); + throw OAuthServerException::invalidScope($redirectUri); } return $validScopes;