dmirandaa / moodle-auth_saml2sso

Moodle plugin for authentication using a SimpleSAMLphp Service Provider
https://moodle.org/plugins/auth_saml2sso
0 stars 6 forks source link

Logout fails with SimpleSAMLphp error when logout url is left empty in Moodle configuration #3

Closed iv-enovation closed 7 years ago

iv-enovation commented 7 years ago

When the "Logout URL" configuration is left empty in Moodle plugin config, one might expect that after Single Sign Off They will be redirected back to Moodle main page, but instead, there is an error:

SimpleSAML_Error_Error: UNHANDLEDEXCEPTION

Backtrace: 0 /var/www/ticket/simplesamlphp-1.13.2/www/module.php:179 (N/A) Caused by: Exception: Could not find authentication source with id Backtrace: 1 /var/www/ticket/simplesamlphp-1.13.2/modules/saml/www/sp/saml2-logout.php:17 (require) 0 /var/www/ticket/simplesamlphp-1.13.2/www/module.php:134 (N/A)