SimpleSAML_Error_Error: UNHANDLEDEXCEPTION
Backtrace:
0 /home/content/31/9055421/html/Apps/ResourceSpace/plugins/simplesaml/lib/www/module.php:180 (N/A)
Caused by: SimpleSAML_Error_Exception: Error validating SubjectConfirmation in Assertion: Recipient in SubjectConfirmationData does not match the current URL. Recipient is 'http://resources.mydomain.org/plugins/simplesaml/lib/www/module.php/saml/sp/saml2-acs.php/default-sp', current URL is 'http://resources.mydomain.org/Apps/ResourceSpace/plugins/simplesaml/lib/www/module.php/saml/sp/saml2-acs.php/default-sp'.
Backtrace:
3 /home/content/31/9055421/html/Apps/ResourceSpace/plugins/simplesaml/lib/modules/saml/lib/Message.php:694 (sspmod_saml_Message::processAssertion)
2 /home/content/31/9055421/html/Apps/ResourceSpace/plugins/simplesaml/lib/modules/saml/lib/Message.php:528 (sspmod_saml_Message::processResponse)
1 /home/content/31/9055421/html/Apps/ResourceSpace/plugins/simplesaml/lib/modules/saml/www/sp/saml2-acs.php:81 (require)
0 /home/content/31/9055421/html/Apps/ResourceSpace/plugins/simplesaml/lib/www/module.php:135 (N/A)Why is the "current URL" pointing back to my sub-domain (resources.mydomain.org), and then attaching on the /Apps/ResourceSpace? The Recipient URL is correct, while the "current URL" is not because the resources sub-domain already points to the /Apps/ResourceSpace directory.
Any ideas on how to fix this?
Thank you.
<?xml version="1.0"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="http://auth.myidpdomainhere.org">
<md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol">
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="http://resources.mydomain.org/plugins/simplesaml/lib/www/module.php/saml/sp/saml2-logout.php/default-sp"/>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="http://resources.mydomain.org/plugins/simplesaml/lib/www/module.php/saml/sp/saml2-acs.php/default-sp" index="0"/>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="http://resources.mydomain.org/plugins/simplesaml/lib/www/module.php/saml/sp/saml1-acs.php/default-sp" index="1"/>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="http://resources.mydomain.org/plugins/simplesaml/lib/www/module.php/saml/sp/saml2-acs.php/default-sp" index="2"/>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="http://resources.mydomain.org/plugins/simplesaml/lib/www/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/>
</md:SPSSODescriptor>
<md:ContactPerson contactType="technical">
<md:GivenName>ResourceSpace</md:GivenName>
<md:SurName>Administrator</md:SurName>
<md:EmailAddress>ad...@mydomain.com</md:EmailAddress>
</md:ContactPerson>
</md:EntityDescriptor> 'baseurlpath' => 'http://resources.mydomain.org/plugins/simplesaml/lib/www/', 'certdir' => 'http://resources.mydomain.org/plugins/simplesaml/lib/cert/', 'loggingdir' => 'http://resources.mydomain.org/plugins/simplesaml/lib/log/', 'datadir' => 'http://resources.mydomain.org/plugins/simplesaml/lib/data/', // An authentication source which can authenticate against both SAML 2.0 // and Shibboleth 1.3 IdPs. 'default-sp' => array( 'saml:SP',
// The entity ID of this SP. // Can be NULL/unset, in which case an entity ID is generated based on the metadata URL. 'entityID' => 'http://resources.mydomain.org',
// The entity ID of the IdP this should SP should contact. // Can be NULL/unset, in which case the user will be shown a list of available IdPs. 'idp' => 'http://auth.myidpdomainhere.org',
// The URL to the discovery service. // Can be NULL/unset, in which case a builtin discovery service will be used. 'discoURL' => NULL, ), // An authentication source which can authenticate against both SAML 2.0 // and Shibboleth 1.3 IdPs. 'default-sp' => array( 'saml:SP',
// The entity ID of this SP. // Can be NULL/unset, in which case an entity ID is generated based on the metadata URL. 'entityID' => 'http://mydomain.org',
// The entity ID of the IdP this should SP should contact. // Can be NULL/unset, in which case the user will be shown a list of available IdPs. 'idp' => 'http://auth.myidpdomain.edu',
// The URL to the discovery service. // Can be NULL/unset, in which case a builtin discovery service will be used. 'discoURL' => NULL, ),<?xml version="1.0"?><md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="http://mydomain.org"> <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol"> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="http://mydomain.org/saml/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="http://mydomain.org/saml/module.php/saml/sp/saml2-acs.php/default-sp" index="0"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="http://mydomain.org/saml/module.php/saml/sp/saml1-acs.php/default-sp" index="1"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="http://mydomain.org/saml/module.php/saml/sp/saml2-acs.php/default-sp" index="2"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="http://mydomain.org/saml/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>ResourceSpace</md:GivenName> <md:SurName>Administrator</md:SurName>SimpleSAML_Error_Error: UNHANDLEDEXCEPTION
Backtrace:
0 /home/content/42/9099541/html/Apps/ResourceSpace/plugins/simplesaml/lib/www/module.php:180 (N/A)
Caused by: SimpleSAML_Error_Exception: Error validating SubjectConfirmation in Assertion: Recipient in SubjectConfirmationData does not match the current URL. Recipient is'http://resources.mydomain.org/saml/module.php/saml/sp/saml2-acs.php/default-sp', current URL is 'http://resources.mydomain.org/Apps/ResourceSpace/saml/module.php/saml/sp/saml2-acs.php/default-sp'.
Backtrace:
3 /home/content/42/9099541/html/Apps/ResourceSpace/plugins/simplesaml/lib/modules/saml/lib/Message.php:694 (sspmod_saml_Message::processAssertion)
2 /home/content/42/9099541/html/Apps/ResourceSpace/plugins/simplesaml/lib/modules/saml/lib/Message.php:528 (sspmod_saml_Message::processResponse)
1 /home/content/42/9099541/html/Apps/ResourceSpace/plugins/simplesaml/lib/modules/saml/www/sp/saml2-acs.php:81 (require)
0 /home/content/42/9099541/html/Apps/ResourceSpace/plugins/simplesaml/lib/www/module.php:135 (N/A)