Skip to content

Commit 2601622

Browse files
committed
added FIXME info so we don't forget to check this
1 parent 13109d7 commit 2601622

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Controller/TokenController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ final public function __invoke(ServerRequestInterface $request, array $args): Re
2727
$server = new \Pdsinterop\Solid\Auth\Server($this->authServerFactory, $this->authServerConfig, $response);
2828
$response = $server->respondToAccessTokenRequest($request);
2929

30+
// FIXME: not sure if decoding this here is the way to go.
31+
// FIXME: because this is a public page, the nonce from the session is not available here.
3032
$codeInfo = $this->tokenGenerator->getCodeInfo($code);
3133
$response = $this->tokenGenerator->addIdTokenToResponse($response, $clientId, $codeInfo['user_id'], $_SESSION['nonce'], $this->config->getPrivateKey());
3234

0 commit comments

Comments
 (0)