我试图了解可信身份验证票证是如何与 PHP 一起使用的。我一直在寻找不同的问题并想出了这个代码
$url = 'https://tableau.godigitally.io/trusted/';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "username=" . $userid . ""); // define what you want to post
$response = curl_exec($ch);
curl_close($ch);
//echo 'Test: ' . $response;
echo '<iframe src=', $url, $ticket, 'views/Dashboard2_0/Dashboard1?', $urlparams, '"
width="700" height="400">
</iframe>';
我不知道我哪里出错了。我已使用 https://help.tableau.com/current/server/en-us/trusted_auth_testing.htm
中描述的测试技术确认我的服务器配置是正确的