diff --git a/src/AuthorizationServer.php b/src/AuthorizationServer.php index ce684d1a..bde97d6e 100644 --- a/src/AuthorizationServer.php +++ b/src/AuthorizationServer.php @@ -214,6 +214,7 @@ class AuthorizationServer implements EmitterAwareInterface protected function getResponseType() { $responseType = clone $this->responseType; + if ($responseType instanceof AbstractResponseType) { $responseType->setPrivateKey($this->privateKey); }