From 3c599e54546d9ea4af8e0c6a1506fc19fcb61267 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 25 Jul 2012 14:31:09 +0100 Subject: [PATCH] Changed the error thrown if the client credentials are invalid to invalid_client --- src/Oauth2/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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