Skip to content

Make NameID emailAddress value assertion optional #408

@jbreton

Description

@jbreton

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",
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions