Skip to content

Commit 18940f0

Browse files
authored
Merge pull request #61 from pdsinterop/feature/rfc-9207
only add to error
2 parents 3c53455 + db3e212 commit 18940f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ final public function respondToAccessTokenRequest(Request $request) : Response
4444
$response = $authorizationServer->respondToAccessTokenRequest($request, $response);
4545
} catch (OAuthServerException $serverException) {
4646
$response = $this->createOauthServerExceptionResponse($response, $serverException);
47+
$response = $this->addIssuerToResponse($response);
4748
}
48-
$response = $this->addIssuerToResponse($response);
4949
return $response;
5050
}
5151

0 commit comments

Comments
 (0)