From 8a619e5c1e76be858360c5e09fa9fb90a5b26f3f Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Sat, 21 Apr 2018 18:07:38 +0100 Subject: [PATCH] Change hint so it applies to both the auth and access token requests --- src/Exception/OAuthServerException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exception/OAuthServerException.php b/src/Exception/OAuthServerException.php index b67bcf03..65fe861e 100644 --- a/src/Exception/OAuthServerException.php +++ b/src/Exception/OAuthServerException.php @@ -92,7 +92,7 @@ class OAuthServerException extends \Exception public static function unsupportedGrantType() { $errorMessage = 'The authorization grant type is not supported by the authorization server.'; - $hint = 'Check the `grant_type` parameter'; + $hint = 'Check that all required parameters have been provided'; return new static($errorMessage, 2, 'unsupported_grant_type', 400, $hint); }