diff --git a/src/grants/abstract/abstract.grant.ts b/src/grants/abstract/abstract.grant.ts index b4ef0dda..e5f926a3 100644 --- a/src/grants/abstract/abstract.grant.ts +++ b/src/grants/abstract/abstract.grant.ts @@ -155,7 +155,7 @@ export abstract class AbstractGrant implements GrantInterface { const userValidationSuccess = await this.clientRepository.isClientValid(grantType, client, clientSecret); if (!userValidationSuccess) { - throw OAuthException.invalidClient(); + throw OAuthException.invalidClient("Client has been revoked or is invalid."); } return client;