aacotroneo / laravel-saml2

A Laravel 5 package for Saml2 integration as a SP (service provider) based on the simple OneLogin toolkit
MIT License
567 stars 238 forks source link

ValidationError OneLogin \ Saml2 \ ValidationError #174

Closed enricooliva closed 4 years ago

enricooliva commented 5 years ago

I get this error during the process of an incoming saml2 assertion request. OneLogin \ Saml2 \ ValidationError (47) "Unknown algorithm"

In the sp metadata, I have the following configuration:

Any idea?

Call stack: 54: OneLogin\Saml2\Response decryptAssertion $this->decryptedDocument = $this->decryptAssertion($this->decryptedDocument);

51: Aacotroneo\Saml2\Saml2Auth acs

/**
 * Process an incoming saml2 assertion request.
 * Fires 'Saml2LoginEvent' event if a valid user is Found
 */
public function acs()
{
    $errors = $this->saml2Auth->acs();