catalyst / moodle-auth_saml2

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

Saml2 logout error message rising from AssertionConsumerService #818

Open paulortman opened 1 month ago

paulortman commented 1 month ago

When explicitly logging out an error message is generated:

SAML2 exception: BADREQUEST('%REASON%' => 'Invalid message received at AssertionConsumerService endpoint.')
Debug info: #0 [dirroot]/auth/saml2/sp/saml2-acs.php(37): SimpleSAML\Module\saml\Controller\ServiceProvider->assertionConsumerService()
#1 {main}
Error code: exception
Stack trace:
line 40 of /auth/saml2/sp/saml2-acs.php: saml2_exception thrown

The account appears to be logged out, but the error message is a bit unsettling.

Running: Moodle 4.4+ (Build: 20240516) PHP 8.3.7 auth_saml2 2024051700

gturetchi commented 3 weeks ago

When explicitly logging out an error message is generated:

SAML2 exception: BADREQUEST('%REASON%' => 'Invalid message received at AssertionConsumerService endpoint.')
Debug info: #0 [dirroot]/auth/saml2/sp/saml2-acs.php(37): SimpleSAML\Module\saml\Controller\ServiceProvider->assertionConsumerService()
#1 {main}
Error code: exception
Stack trace:
line 40 of /auth/saml2/sp/saml2-acs.php: saml2_exception thrown

The account appears to be logged out, but the error message is a bit unsettling.

Running: Moodle 4.4+ (Build: 20240516) PHP 8.3.7 auth_saml2 2024051700

You managed to run this plugin for latest moodle ? After I recive the saml response and redirected to auth/saml2/login.php?wants&idp=.... I recive 500, internal server error