mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Changed the error thrown if the client credentials are invalid to invalid_client
This commit is contained in:
@@ -130,7 +130,7 @@ maintenance of the server.',
|
|||||||
if ($clientDetails === false) {
|
if ($clientDetails === false) {
|
||||||
|
|
||||||
throw new OAuthServerClientException(
|
throw new OAuthServerClientException(
|
||||||
$this->errors['unauthorized_client'], 1);
|
$this->errors['invalid_client'], 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Response type
|
// Response type
|
||||||
|
Reference in New Issue
Block a user