diff --git a/src/AuthorizationServer.php b/src/AuthorizationServer.php index b0ba7598..6eb7b5d6 100644 --- a/src/AuthorizationServer.php +++ b/src/AuthorizationServer.php @@ -204,7 +204,7 @@ class AuthorizationServer implements EmitterAwareInterface protected function getResponseType() { if (!$this->responseType instanceof ResponseTypeInterface) { - $this->responseType = new BearerTokenResponse($this->accessTokenRepository); + $this->responseType = new BearerTokenResponse(); } $this->responseType->setPrivateKey($this->privateKey);