ID Token for access token possible?
t3touch opened this issue · 1 comments
t3touch commented
How can I add an ID Token to the access tokens?
t3touch commented
I think I got it 😃
Or is another way recommended?
// Try to respond to the request
$result = $server->respondToAccessTokenRequest($request, $response);
$result->getBody()->write(json_encode(['id_token' => 'test'])); // this is the line that adds the id_token to the response