Newer
Older
Andreas Åkre Solberg
committed
<?php
require_once('../../_include.php');
Andreas Åkre Solberg
committed
Olav Morken
committed
$metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();
$idpEntityId = $metadata->getMetaDataCurrentEntityID('saml20-idp-hosted');
$idp = SimpleSAML_IdP::getById('saml2:'.$idpEntityId);
Andreas Åkre Solberg
committed
SimpleSAML_Logger::info('SAML2.0 - IdP.initSLO: Accessing SAML 2.0 IdP endpoint init Single Logout');
throw new SimpleSAML_Error_Error('NORELAYSTATE');
Andreas Åkre Solberg
committed
}
$idp->doLogoutRedirect(\SimpleSAML\Utils\HTTP::checkURLAllowed((string) $_GET['RelayState']));
assert('FALSE');