public function responseTypeCodeAction(Request $request, Application $app)
{
$authorizationResponse = $request->query->all();
$tokenPath = $app['url_generator']->generate('demo_grant_type_authorization_code', ['code' => $authorizationResponse['code']]);
return $app['twig']->render('demo/response_type/code.html.twig', ['authorization_response' => $authorizationResponse, 'token_path' => $tokenPath]);
}