diff --git a/src/Oauth2/Server.php b/src/Oauth2/Server.php index ee520c6b..99dcf214 100644 --- a/src/Oauth2/Server.php +++ b/src/Oauth2/Server.php @@ -130,7 +130,7 @@ maintenance of the server.', if ($clientDetails === false) { throw new OAuthServerClientException( - $this->errors['unauthorized_client'], 1); + $this->errors['invalid_client'], 8); } // Response type