Hi all here!
In my project I use SSO service which doesn't provide NameId as expected in module. I have an error:
OneLogin\Saml2\ValidationError encountered while processing SAML authentication response: NameID not found in the assertion of the Response in OneLogin\Saml2\Response->getNameIdData() (line 618 of /var/www/html/vendor/onelogin/php-saml/src/Saml2/Response.php).
But when I add wantNameId => FALSE in security section of configuration (SamlService :: reformatConfig()) login works fine.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | samlauth-want_name_id-3086827.patch | 2.73 KB | antonnavi |
Comments
Comment #2
antonnaviAttached patch solves this issue.
Comment #3
antonnaviComment #4
davidferlay commentedTested OK !
Comment #5
andypostWould be great to add better explanation and reference to docs in description or help
Comment #7
roderikThank you for this addition. Additions to the configuration screen are accepted almost by default. I won't require tests yet, as mentioned in #2882568: Plan for SAML Authentication 4.x.
Two things: