SAML-Toolkits / php-saml

Simple SAML toolkit for PHP
MIT License
1.23k stars 471 forks source link

Validation error on Wordpress site via simplesaml plugin #517

Closed redlik closed 1 year ago

redlik commented 2 years ago

I'm getting this error via Wordpress fatal error alert: An error of type E_ERROR was caused in line 103 of the file /wp-content/plugins/wp-saml-auth/vendor/onelogin/php-saml/src/Saml2/Response.php. Error message: Uncaught OneLogin\Saml2\ValidationError: SAML Response could not be processed in /code/wp-content/plugins/wp-saml-auth/vendor/onelogin/php-saml/src/Saml2/Response.php:103 The logs don't show any particular reason for this error so may be some bots trying to pass through wordpress login ???

pitbulk commented 1 year ago

@redlik This issue should be opened at the wp-saml-auth issue tracker.

The "SAML Response could not be processed" error is raised in the toolkit when the value provided as SAMLResponse does not validate against the XSD.

You should double check and see what value was provided to the toolkit.