diff --git a/Classes/Controller/FesamlController.php b/Classes/Controller/FesamlController.php index 9cbc08d..34a03ab 100644 --- a/Classes/Controller/FesamlController.php +++ b/Classes/Controller/FesamlController.php @@ -128,15 +128,17 @@ public function controlAction() $sp_object = json_decode(Utilities::fetchFromTable(Constants::COLUMN_OBJECT_SP,Constants::TABLE_SAML),true); $this->idp_name = $idp_object[Constants::COLUMN_IDP_NAME]; - $this->acs_url = $idp_object[Constants::COLUMN_IDP_NAME]; + $this->idp_entity_id =$idp_object[Constants::COLUMN_IDP_ENTITY_ID]; $this->saml_login_url = $idp_object[Constants::COLUMN_IDP_LOGIN_URL]; $this->x509_certificate = $idp_object[Constants::COLUMN_IDP_CERTIFICATE]; - $this->idp_entity_id =$idp_object[Constants::COLUMN_IDP_ENTITY_ID]; $this->force_authn = false; - $this->sp_entity_id = $sp_object[Constants::COLUMN_SP_ENTITY_ID]; + + $this->acs_url = $sp_object[Constants::COLUMN_SP_ACS_URL]; + $this->sp_entity_id = $sp_object[Constants::COLUMN_SP_ENTITY_ID]; $this->signedAssertion = true; $this->signedResponse = true; + $this->destination = $this->saml_login_url; } diff --git a/Helper/Actions/HttpAction.php b/Helper/Actions/HttpAction.php index ece2e8d..cb8a60c 100644 --- a/Helper/Actions/HttpAction.php +++ b/Helper/Actions/HttpAction.php @@ -75,8 +75,14 @@ public function sendHTTPPostRequest($samlRequest,$sendRelayState,$sloUrl) $base64EncodedXML = base64_encode($signedXML); //post request ob_clean(); - printf("
+ printf(" + + + Please wait...