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 13109d7 commit 2601622Copy full SHA for 2601622
1 file changed
src/Controller/TokenController.php
@@ -27,6 +27,8 @@ final public function __invoke(ServerRequestInterface $request, array $args): Re
27
$server = new \Pdsinterop\Solid\Auth\Server($this->authServerFactory, $this->authServerConfig, $response);
28
$response = $server->respondToAccessTokenRequest($request);
29
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.
32
$codeInfo = $this->tokenGenerator->getCodeInfo($code);
33
$response = $this->tokenGenerator->addIdTokenToResponse($response, $clientId, $codeInfo['user_id'], $_SESSION['nonce'], $this->config->getPrivateKey());
34
0 commit comments