Jilo Agents on platform = htmlspecialchars($platform_id) ?> (= htmlspecialchars($platformDetails[0]['name']) ?>)
agent id: = htmlspecialchars($agent['id']) ?>
agent type: = htmlspecialchars($agent['agent_type_id']) ?> (= htmlspecialchars($agent['agent_description']) ?>)
endpoint: = htmlspecialchars($agent['url']) ?>= htmlspecialchars($agent['agent_endpoint']) ?>
'Jilo Web',
'aud' => $config['domain'],
'iat' => time(),
'exp' => time() + 3600,
'agent_id' => $agent['id']
];
$jwt = $agentObject->generateAgentToken($payload, $agent['secret_key']);
// print_r($_SESSION);
?>
click a button to fetch data from the agent.