diff --git a/src/OAuth2/OAuth2RpcActions.php b/src/OAuth2/OAuth2RpcActions.php index 78e6115..394e3e0 100644 --- a/src/OAuth2/OAuth2RpcActions.php +++ b/src/OAuth2/OAuth2RpcActions.php @@ -62,7 +62,7 @@ final class OAuth2RpcActions extends RpcActionHandler { } if($tokenInfo->hasExpired()) - return ['method' => 'bearer', 'error' => 'expires']; + return ['method' => 'bearer', 'error' => 'expired']; return [ 'method' => 'bearer',