Setup SAML2 with Moodle and ADFS

NK 6 Reputation points
2025-08-11T17:45:33.41+00:00

We are trying to set-up Setup SAML2 with Moodle and ADFS\Azure.

We have gotten to the point where the federated login accepts the username and password. However it comes back with the following error message.

SAML2 exception: Responder

More information about this error

Debug info: #0 [dirroot]\auth\saml2\vendor\simplesamlphp\simplesamlphp\modules\saml\src\Message.php(588): SimpleSAML\Module\saml\Message::getResponseError() #1 [dirroot]\auth\saml2\vendor\simplesamlphp\simplesamlphp\modules\saml\src\Controller\ServiceProvider.php(378): SimpleSAML\Module\saml\Message::processResponse() #2 [dirroot]\auth\saml2\sp\saml2-acs.php(37): SimpleSAML\Module\saml\Controller\ServiceProvider->assertionConsumerService() #3 {main} Error code: exception

Stack trace:

  • line 40 of \auth\saml2\sp\saml2-acs.php: saml2_exception thrown
Microsoft Security | Active Directory Federation Services
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.