mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Changed the error thrown if the client credentials are invalid to invalid_client
This commit is contained in:
parent
fd1fe96c07
commit
3c599e5454
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user