diff --git a/src/Exception/OAuthServerException.php b/src/Exception/OAuthServerException.php index 46a79c1a..b0309290 100644 --- a/src/Exception/OAuthServerException.php +++ b/src/Exception/OAuthServerException.php @@ -200,7 +200,7 @@ class OAuthServerException extends \Exception */ public static function accessDenied($hint = null) { - return new static('The server denied the request.', 401, $hint); + return new static('The server denied the request.', 'access_denied', 401, $hint); } /**