file_put_contents(__DIR__ . '/log/log.' . $t . '.log', print_r($_POST, true));
}
+\OneLogin\Saml2\Utils::setProxyVars(true);
+
$basedir = '/LVMH/Internal-Control-Base-December-2020/';
$base = 'https://hosting.fluidbook.com' . $basedir;
)
));
$c = file_get_contents('https://okta.lvmh.com/app/exkde2eh6L55wyfcE416/sso/saml/metadata', $ctx);
- if(!$c){
+ if (!$c) {
return json_decode(file_get_contents($cachefile), true);
}
$xml = simplexml_load_string($c);
use GuzzleHttp\Client;
use OneLogin\Saml2\Auth;
+use OneLogin\Saml2\Utils;
+
+Utils::setProxyVars(true);
$logdir = __DIR__ . '/log/';
file_put_contents($logdir . 'log.' . $t . '.log', print_r($_POST, true));
}
-
$basedir = '/';
$base = 'https://' . $_SERVER['HTTP_HOST'] . $basedir;
if ($_SERVER['HTTP_HOST'] === 'cabinotiers.vacheron-constantin.com') {