Skip to content
Snippets Groups Projects
Commit ac1f6334 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo Committed by GitHub
Browse files

Merge pull request #702 from bynare/idp-metadata-debugging

getIdpMetadata: add more debug logging
parents fdfacdbf c887eadd
No related branches found
No related tags found
No related merge requests found
......@@ -120,14 +120,15 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source {
return $metadataHandler->getMetaDataConfig($entityId, 'saml20-idp-remote');
} catch (Exception $e) {
/* Metadata wasn't found. */
SimpleSAML\Logger::debug('getIdpMetadata: ' . $e->getMessage());
}
/* Not found in saml20-idp-remote, look in shib13-idp-remote. */
try {
return $metadataHandler->getMetaDataConfig($entityId, 'shib13-idp-remote');
} catch (Exception $e) {
/* Metadata wasn't found. */
SimpleSAML\Logger::debug('getIdpMetadata: ' . $e->getMessage());
}
/* Not found. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment