Skip to content

Commit 1a7ff54

Browse files
committed
Debug
1 parent 25eaa5e commit 1a7ff54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpClient/Plugin/TrustedPublishingTokenExchange.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function doHandleRequest(RequestInterface $request, callable $next, ca
5656
return $next($request);
5757
}
5858

59-
$apiCredentials = json_decode((string) $privatePackagistHttpclient->post('/oidc/token-exchange/' . $this->organizationUrlName . '/' . $this->packageName, ['Authorization' => 'Bearer ' . $token->token])->getBody(), true);
59+
$apiCredentials = json_decode((string) $privatePackagistHttpclient->post('/oidc/token-exchange/' . $this->organizationUrlName . '/' . $this->packageName . '?XDEBUG_TRIGGER=1', ['Authorization' => 'Bearer ' . $token->token])->getBody(), true);
6060

6161
$this->httpPluginClientBuilder->addPlugin($requestSignature = new RequestSignature($apiCredentials['key'], $apiCredentials['secret']));
6262

0 commit comments

Comments
 (0)