We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b885c8 commit 1fd8ad0Copy full SHA for 1fd8ad0
1 file changed
src/Controller/TokenController.php
@@ -31,7 +31,7 @@ final public function __invoke(ServerRequestInterface $request, array $args): Re
31
$server = new \Pdsinterop\Solid\Auth\Server($this->authServerFactory, $this->authServerConfig, $response);
32
$response = $server->respondToAccessTokenRequest($request);
33
34
- $codeInfo = $this->tokenGenerator->getCodeInfo();
+ $codeInfo = $this->tokenGenerator->getCodeInfo($code);
35
$response = $this->tokenGenerator->addIdTokenToResponse($response, $clientId, $codeInfo['user_id'], $_SESSION['nonce'], $this->config->getPrivateKey());
36
37
return $response;
0 commit comments