catalyst / moodle-auth_saml2

SAML done 100% in Moodle, fast, simple, secure
https://moodle.org/plugins/auth_saml2
71 stars 133 forks source link

Missing url value for Logo. #255

Open northway opened 6 years ago

northway commented 6 years ago

So far SAML auth worked, but today I get this error:

Invalid configuration of the 'metadata.sources' configuration option: Missing url value for Logo.

Backtrace

1 www/_include.php:45 (SimpleSAML_exception_handler)
0 [builtin] (N/A)
Caused by: Exception: Invalid configuration of the 'metadata.sources' configuration option: Missing url value for Logo.
Backtrace:
6 lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:69 (SimpleSAML_Metadata_MetaDataStorageHandler::__construct)
5 lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:43 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler)
4 modules/saml/lib/Auth/Source/SP.php:116 (sspmod_saml_Auth_Source_SP::getIdPMetadata)
3 modules/saml/lib/Auth/Source/SP.php:328 (sspmod_saml_Auth_Source_SP::startSSO)
2 modules/saml/www/sp/discoresp.php:28 (require)
1 www/module.php:135 (require)
0 /srv/moodle/auth/saml2/sp/module.php:34 (N/A)

Moodle version: 3.4 stable

SAML2:

What should I check to fix this?

brendanheywood commented 5 years ago

Did you get anywhere with this?

northway commented 5 years ago

I was able to create a workaround, but performance was way too slow with the eduGAIN metadata, so I switch to Shibboleth.

northway commented 5 years ago

We could close this issue, because I don't have any available time at this moment.

brendanheywood commented 5 years ago

I'm fine to leave it open, I'd just want some more details like what disco url / metadata etc or a minimal set of reproduction steps

northway commented 5 years ago

Okay, in a nutshell:

Other plugin related configs where pretty simple: