Jilo Agents on platform = $platform_id ?> (= $platformDetails[0]['name'] ?>)
agent id: = $agent['id'] ?>
agent type: = $agent['agent_type_id'] ?> (= $agent['agent_description'] ?>)
endpoint: = $agent['url'] ?>= $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 display data from the agent.