SimpleSAML_Error_MetadataNotFound: METADATANOTFOUND('%ENTITYID%' => '\'php-saml\'')
Backtrace: 3 /var/simpleidp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:305 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaData) 2 /var/simpleidp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:325 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaDataConfig) 1 /var/simpleidp/modules/saml/lib/IdP/SAML2.php:303 (sspmod_saml_IdP_SAML2::receiveAuthnRequest) 0 /var/simpleidp/www/saml2/idp/SSOService.php:19 (N/A)
SimpleSAML_Error_Error: SSOPARAMS
Backtrace: 0 /var/simpleidp/www/saml2/idp/SSOService.php:22 (N/A) Caused by: Exception: Unable to find the current binding. Backtrace: 2 /var/simpleidp/vendor/simplesamlphp/saml2/src/SAML2/Binding.php:97 (SAML2_Binding::getCurrentBinding) 1 /var/simpleidp/modules/saml/lib/IdP/SAML2.php:292 (sspmod_saml_IdP_SAML2::receiveAuthnRequest)
Hi,So, I have finally configured my simplesamlphp to act as an IDP which authenticates against my linOTP users. Now, I want to connect the IDP to my SugarCRM which is acting as my SP. Whenever I go to my SugarCRM and click Log In, it should have redirected me to the simplesamlphp SSO link which is: https://service.example.com/simplesaml/saml2/idp/SSOService.php, instead it is giving me this error:
SimpleSAML_Error_MetadataNotFound: METADATANOTFOUND('%ENTITYID%' => '\'php-saml\'')
Backtrace: 3 /var/simpleidp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:305 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaData) 2 /var/simpleidp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:325 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaDataConfig) 1 /var/simpleidp/modules/saml/lib/IdP/SAML2.php:303 (sspmod_saml_IdP_SAML2::receiveAuthnRequest) 0 /var/simpleidp/www/saml2/idp/SSOService.php:19 (N/A)So I went and tried to open the SSO link itself (https://service.example.com/simplesaml/saml2/idp/SSOService.php) and got this error:SimpleSAML_Error_Error: SSOPARAMS
Backtrace: 0 /var/simpleidp/www/saml2/idp/SSOService.php:22 (N/A) Caused by: Exception: Unable to find the current binding. Backtrace: 2 /var/simpleidp/vendor/simplesamlphp/saml2/src/SAML2/Binding.php:97 (SAML2_Binding::getCurrentBinding) 1 /var/simpleidp/modules/saml/lib/IdP/SAML2.php:292 (sspmod_saml_IdP_SAML2::receiveAuthnRequest)0 /var/simpleidp/www/saml2/idp/SSOService.php:19 (N/A)
Does anyone know what I am doing wrong? Here is what my SP configuration looks like in simplesamlphp:metadata/saml20-sp-remote.php<?php$metadata['https://example.sugarondemand.com'] = array('AssertionConsumerService' => 'https://example.sugarondemand.com/index.php?module=Users&action=Authenticate&dataOnly=1&platform=base',);
config/authsources.php$config = array('admin' => array('core:AdminPassword',),'default-sp' => array('saml:SP','entityID' => 'https://example.sugarondemand.com/index.php?module=Users&action=Authenticate&dataOnly=1&platform=base','idp' => null,'discoURL' => null,),