We just updated from v4 to v6 and some authentication failed. After digging around we found that the value of the Subject NameID isn't a valid email address in some cases. This isn't something we can ask the IdP to change.
From what we can see from other SAML2 libraries, it seems to be a common practice to be able to disable some assertions like this one.
|
Assert::email( |
|
$value->getValue(), |
|
"The content %s of the NameID was not in the format specified by the Format attribute", |
|
); |
We just updated from v4 to v6 and some authentication failed. After digging around we found that the value of the Subject NameID isn't a valid email address in some cases. This isn't something we can ask the IdP to change.
From what we can see from other SAML2 libraries, it seems to be a common practice to be able to disable some assertions like this one.
saml2/src/XML/saml/NameID.php
Lines 55 to 58 in 85b0530