Skip to content

Commit 1fd8ad0

Browse files
committed
provide a code to decode
1 parent 4b885c8 commit 1fd8ad0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controller/TokenController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final public function __invoke(ServerRequestInterface $request, array $args): Re
3131
$server = new \Pdsinterop\Solid\Auth\Server($this->authServerFactory, $this->authServerConfig, $response);
3232
$response = $server->respondToAccessTokenRequest($request);
3333

34-
$codeInfo = $this->tokenGenerator->getCodeInfo();
34+
$codeInfo = $this->tokenGenerator->getCodeInfo($code);
3535
$response = $this->tokenGenerator->addIdTokenToResponse($response, $clientId, $codeInfo['user_id'], $_SESSION['nonce'], $this->config->getPrivateKey());
3636

3737
return $response;

0 commit comments

Comments
 (0)